diff options
author | unknown <monty@mysql.com> | 2005-04-26 23:24:59 +0300 |
---|---|---|
committer | unknown <monty@mysql.com> | 2005-04-26 23:24:59 +0300 |
commit | bf17c826deb66a82fe528e4a95edb4caee0ff652 (patch) | |
tree | d3f9869f90a3254e9a596cab6776bef2d44dfdc4 /sql/sql_insert.cc | |
parent | d8871a117b805ba91cb4d305db542e0ec91ec9f4 (diff) | |
download | mariadb-git-bf17c826deb66a82fe528e4a95edb4caee0ff652.tar.gz |
Cleanups during review
mysys/default.c:
Cleanup:
- Just test once for recursion level
- Don't test explicitely for \r or \n as my_isspace() already does that
sql/sql_insert.cc:
Fix argument
sql/sql_select.cc:
Fixed indentation
added comment
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 7f890a583c6..f46c40f686a 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -72,7 +72,7 @@ static int check_insert_fields(THD *thd, TABLE *table, List<Item> &fields, { my_printf_error(ER_WRONG_VALUE_COUNT_ON_ROW, ER(ER_WRONG_VALUE_COUNT_ON_ROW), - MYF(0), 1); + MYF(0), 1L); return -1; } #ifndef NO_EMBEDDED_ACCESS_CHECKS @@ -89,7 +89,7 @@ static int check_insert_fields(THD *thd, TABLE *table, List<Item> &fields, { my_printf_error(ER_WRONG_VALUE_COUNT_ON_ROW, ER(ER_WRONG_VALUE_COUNT_ON_ROW), - MYF(0), 1); + MYF(0), 1L); return -1; } TABLE_LIST table_list; |