| 343 | |
| 344 | |
| 345 | static int discover_table(handlerton *hton, THD *thd, TABLE_SHARE *share) |
| 346 | { |
| 347 | ulonglong from, to, step; |
| 348 | if (parse_table_name(share->table_name.str, share->table_name.length, |
| 349 | &from, &to, &step)) |
| 350 | return HA_ERR_NO_SUCH_TABLE; |
| 351 | |
| 352 | if (step == 0) |
| 353 | return HA_WRONG_CREATE_OPTION; |
| 354 | |
| 355 | const char *sql="create table seq (seq bigint unsigned primary key)"; |
| 356 | return share->init_from_sql_statement_string(thd, 0, sql, strlen(sql)); |
| 357 | } |
| 358 | |
| 359 | |
| 360 | static int discover_table_existence(handlerton *hton, const char *db, |
nothing calls this directly
no test coverage detected