Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • M mariadb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • mariadb
  • Repository
  • mariadb
  • sql
  • sql_parse.cc
Find file BlameHistoryPermalink
  • dlenev@brandersnatch.localdomain's avatar
    Fix for bug #6173 "One can circumvent missing UPDATE privilege if · 75d81662
    dlenev@brandersnatch.localdomain authored Oct 20, 2004
    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.
    75d81662
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7