mirror of
https://github.com/MariaDB/server.git
synced 2025-11-08 00:28:29 +03:00
he has SELECT and INSERT privileges for table with primary key" Now we set lex->duplicates= DUP_UPDATE right in parser if INSERT has ON DUPLICATE KEY UPDATE clause, this simplifies insert_precheck() function (this also fixes a bug) and some other code.
2.0 KiB
2.0 KiB