1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Cleanup's during review

Added ASSERT() to detect wrongly packed fields
This commit is contained in:
monty@mysql.com
2005-05-25 18:33:32 +03:00
parent 8832f3e1c5
commit 5f8f947f34
6 changed files with 41 additions and 40 deletions

View File

@@ -1607,9 +1607,9 @@ static int open_unireg_entry(THD *thd, TABLE *entry, const char *db,
trying to discover the table at the same time.
*/
if (discover_retry_count++ != 0)
goto err;
goto err;
if (ha_create_table_from_engine(thd, db, name, TRUE) != 0)
goto err;
goto err;
mysql_reset_errors(thd, 1); // Clear warnings
thd->clear_error(); // Clear error message