~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/eval/eval0eval.c

[patch 112/129] Merge patch for revision 1925 from InnoDB SVN:
revno: 1925
revision-id: svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:6169
parent: svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:6163
committer: calvin
timestamp: Thu 2009-11-12 12:40:43 +0000
message:
  branches/zip: add test case for bug#46676
  
  This crash is reproducible with InnoDB plugin 1.0.4 + MySQL 5.1.37.
  But no longer reproducible after MySQL 5.1.38 (with plugin 1.0.5).
  Add test case to catch future regression.
added:
  mysql-test/innodb_bug46676.result 6169@16c675df-0fcb-4bc9-8058-dcc011a37293:branches%2Fzip%2Fmysql-test%2Finnodb_bug46676.result
  mysql-test/innodb_bug46676.test 6169@16c675df-0fcb-4bc9-8058-dcc011a37293:branches%2Fzip%2Fmysql-test%2Finnodb_bug46676.test
diff:
=== added file 'mysql-test/innodb_bug46676.result'

Show diffs side-by-side

added added

removed removed

Lines of Context:
384
384
/*==========*/
385
385
        func_node_t*    func_node)      /*!< in: function node */
386
386
{
 
387
        que_node_t*     arg1;
 
388
        que_node_t*     arg2;
387
389
        sym_node_t*     cursor;
388
390
        sel_node_t*     sel_node;
389
391
        ibool           ibool_val;
390
392
 
 
393
        arg1 = func_node->args;
 
394
        arg2 = que_node_get_next(arg1);
 
395
 
391
396
        ut_ad(func_node->func == PARS_NOTFOUND_TOKEN);
392
397
 
393
 
        cursor = func_node->args;
 
398
        cursor = arg1;
394
399
 
395
400
        ut_ad(que_node_get_type(cursor) == QUE_NODE_SYMBOL);
396
401