~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Brian Aker
  • Date: 2009-05-14 15:22:46 UTC
  • mto: This revision was merged to the branch mainline in revision 1016.
  • Revision ID: brian@gaz-20090514152246-tr24lltca910zwzo
Factor out need for session in many "schema" calls. Removed variable about
collation for schema from session (a user should get this info from I_S)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2279
2279
          }
2280
2280
        | CONVERT_SYM TO_SYM collation_name_or_default
2281
2281
          {
2282
 
            if (!$3)
2283
 
            {
2284
 
              Session *session= YYSession;
2285
 
              $3= session->variables.collation_database;
2286
 
            }
2287
2282
            LEX *lex= Lex;
2288
2283
            lex->create_info.table_charset=
2289
2284
            lex->create_info.default_table_charset= $3;