@@ -339,24 +339,6 @@ TABLE *spider_open_sys_table(
339339 }
340340 DBUG_ASSERT (0 );
341341 break ;
342- case 21 :
343- if (!memcmp (table_name, SPIDER_SYS_RW_TBLS_TABLE_NAME_STR,
344- SPIDER_SYS_RW_TBLS_TABLE_NAME_LEN))
345- {
346- DBUG_PRINT (" info" ,(" spider checking for SYS_RW_TBLS" ));
347- if (table->s ->fields != SPIDER_SYS_RW_TBLS_COL_CNT)
348- {
349- spider_close_sys_table (thd, table, open_tables_backup, need_lock);
350- table = NULL ;
351- my_printf_error (ER_SPIDER_SYS_TABLE_VERSION_NUM,
352- ER_SPIDER_SYS_TABLE_VERSION_STR, MYF (0 ),
353- SPIDER_SYS_RW_TBLS_TABLE_NAME_STR);
354- *error_num = ER_SPIDER_SYS_TABLE_VERSION_NUM;
355- goto error_col_num_chk;
356- }
357- }
358- DBUG_ASSERT (0 );
359- break ;
360342 case 22 :
361343 if (!memcmp (table_name, SPIDER_SYS_LINK_FAILED_TABLE_NAME_STR,
362344 SPIDER_SYS_LINK_FAILED_TABLE_NAME_LEN))
@@ -393,60 +375,6 @@ TABLE *spider_open_sys_table(
393375 }
394376 break ;
395377 }
396- if (!memcmp (table_name, SPIDER_SYS_RWN_TBLS_TABLE_NAME_STR,
397- SPIDER_SYS_RWN_TBLS_TABLE_NAME_LEN))
398- {
399- DBUG_PRINT (" info" ,(" spider checking for SYS_RWN_TBLS" ));
400- if (table->s ->fields != SPIDER_SYS_RWN_TBLS_COL_CNT)
401- {
402- spider_close_sys_table (thd, table, open_tables_backup, need_lock);
403- table = NULL ;
404- my_printf_error (ER_SPIDER_SYS_TABLE_VERSION_NUM,
405- ER_SPIDER_SYS_TABLE_VERSION_STR, MYF (0 ),
406- SPIDER_SYS_RWN_TBLS_TABLE_NAME_STR);
407- *error_num = ER_SPIDER_SYS_TABLE_VERSION_NUM;
408- goto error_col_num_chk;
409- }
410- break ;
411- }
412- DBUG_ASSERT (0 );
413- break ;
414- case 27 :
415- if (!memcmp (table_name, SPIDER_SYS_RW_TBL_TBLS_TABLE_NAME_STR,
416- SPIDER_SYS_RW_TBL_TBLS_TABLE_NAME_LEN))
417- {
418- DBUG_PRINT (" info" ,(" spider checking for SYS_RW_TBL_TBLS" ));
419- if (table->s ->fields != SPIDER_SYS_RW_TBL_TBLS_COL_CNT)
420- {
421- spider_close_sys_table (thd, table, open_tables_backup, need_lock);
422- table = NULL ;
423- my_printf_error (ER_SPIDER_SYS_TABLE_VERSION_NUM,
424- ER_SPIDER_SYS_TABLE_VERSION_STR, MYF (0 ),
425- SPIDER_SYS_RW_TBL_TBLS_TABLE_NAME_STR);
426- *error_num = ER_SPIDER_SYS_TABLE_VERSION_NUM;
427- goto error_col_num_chk;
428- }
429- break ;
430- }
431- DBUG_ASSERT (0 );
432- break ;
433- case 31 :
434- if (!memcmp (table_name, SPIDER_SYS_RW_TBL_PTTS_TABLE_NAME_STR,
435- SPIDER_SYS_RW_TBL_PTTS_TABLE_NAME_LEN))
436- {
437- DBUG_PRINT (" info" ,(" spider checking for SYS_RW_TBL_PTTS" ));
438- if (table->s ->fields != SPIDER_SYS_RW_TBL_PTTS_COL_CNT)
439- {
440- spider_close_sys_table (thd, table, open_tables_backup, need_lock);
441- table = NULL ;
442- my_printf_error (ER_SPIDER_SYS_TABLE_VERSION_NUM,
443- ER_SPIDER_SYS_TABLE_VERSION_STR, MYF (0 ),
444- SPIDER_SYS_RW_TBL_PTTS_TABLE_NAME_STR);
445- *error_num = ER_SPIDER_SYS_TABLE_VERSION_NUM;
446- goto error_col_num_chk;
447- }
448- break ;
449- }
450378 DBUG_ASSERT (0 );
451379 break ;
452380 case 34 :
@@ -466,22 +394,6 @@ TABLE *spider_open_sys_table(
466394 }
467395 break ;
468396 }
469- if (!memcmp (table_name, SPIDER_SYS_RW_TBL_SPTTS_TABLE_NAME_STR,
470- SPIDER_SYS_RW_TBL_SPTTS_TABLE_NAME_LEN))
471- {
472- DBUG_PRINT (" info" ,(" spider checking for SYS_RW_TBL_SPTTS" ));
473- if (table->s ->fields != SPIDER_SYS_RW_TBL_SPTTS_COL_CNT)
474- {
475- spider_close_sys_table (thd, table, open_tables_backup, need_lock);
476- table = NULL ;
477- my_printf_error (ER_SPIDER_SYS_TABLE_VERSION_NUM,
478- ER_SPIDER_SYS_TABLE_VERSION_STR, MYF (0 ),
479- SPIDER_SYS_RW_TBL_SPTTS_TABLE_NAME_STR);
480- *error_num = ER_SPIDER_SYS_TABLE_VERSION_NUM;
481- goto error_col_num_chk;
482- }
483- break ;
484- }
485397 DBUG_ASSERT (0 );
486398 break ;
487399 default :
0 commit comments