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
  • bar@bar.mysql.r18.ru's avatar
    Fix: create table t1 (a char(10) character set cp1251) SELECT _koi8r'blabla' as a · 786af341
    bar@bar.mysql.r18.ru authored Aug 11, 2003
    The above query created a field of koi8r charset, not cp1251
    
    Change:
    CREATE TABLE a (a CHAR(1) CHARACTER SET utf8) 
    Length now means character length, not byte length.
    The above creates a field that guarantees can store a multibyte value
    1 character long. For utf8 the above creates a field that can store
    3 bytes.
    786af341
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7