1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Fixed warnings from valgrind (not a bug)

Don't add -debug to server version if MYSQL_SERVER_PREFIX is used
Indentation cleanups
This commit is contained in:
monty@mysql.com
2004-04-06 12:13:43 +03:00
parent 03caa47acb
commit 49330f61da
8 changed files with 28 additions and 20 deletions

View File

@@ -628,15 +628,15 @@ int mysql_create_table(THD *thd,const char *db, const char *table_name,
if (!timestamps)
{
sql_field->unireg_check= Field::TIMESTAMP_DNUN_FIELD;
++timestamps_with_niladic;
timestamps_with_niladic++;
}
else
sql_field->unireg_check= Field::NONE;
}
else if(sql_field->unireg_check != Field::NONE)
++timestamps_with_niladic;
else if (sql_field->unireg_check != Field::NONE)
timestamps_with_niladic++;
++timestamps;
timestamps++;
/* fall-through */
default:
sql_field->pack_flag=(FIELDFLAG_NUMBER |