~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Olaf van der Spek
  • Date: 2011-07-07 14:23:12 UTC
  • mto: This revision was merged to the branch mainline in revision 2385.
  • Revision ID: olafvdspek@gmail.com-20110707142312-cla3pgjg6jkyixp5
strmake -> strdup

Show diffs side-by-side

added added

removed removed

Lines of Context:
1149
1149
row_format_or_text:
1150
1150
          row_format
1151
1151
          {
1152
 
            $$.str= YYSession->mem.strmake($1.str, $1.length);
 
1152
            $$.str= YYSession->mem.strdup($1.str, $1.length);
1153
1153
            $$.length= $1.length;
1154
1154
          }
1155
1155
        ;
5191
5191
          IDENT_sys    { $$=$1; }
5192
5192
        | keyword
5193
5193
          {
5194
 
            $$.str= YYSession->mem.strmake($1.str, $1.length);
 
5194
            $$.str= YYSession->mem.strdup($1.str, $1.length);
5195
5195
            $$.length= $1.length;
5196
5196
          }
5197
5197
        ;
5473
5473
internal_variable_ident:
5474
5474
          keyword_exception_for_variable
5475
5475
          {
5476
 
            $$.str= YYSession->mem.strmake($1.str, $1.length);
 
5476
            $$.str= YYSession->mem.strdup($1.str, $1.length);
5477
5477
            $$.length= $1.length;
5478
5478
          }
5479
5479
        | IDENT_sys    { $$=$1; }