diff options
author | unknown <monty@donna.mysql.com> | 2001-02-02 03:47:06 +0200 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2001-02-02 03:47:06 +0200 |
commit | 1d63e924d7e38d5c653b8fd8be044f303124d0a9 (patch) | |
tree | 19641f8502749972f84a35f4dbc182e18e30af5a /sql/sql_yacc.yy | |
parent | 50c4cc1f8b7e2f265d1e98ee730b65d345d5a398 (diff) | |
download | mariadb-git-1d63e924d7e38d5c653b8fd8be044f303124d0a9.tar.gz |
Portability fixes
Changed TRUNCATE table_name -> TRUNCATE TABLE table_name
Docs/manual.texi:
Changed TRUNCATE table_name -> TRUNCATE TABLE table_name
client/mysql.cc:
Don't crash when using -q with long fields
include/my_net.h:
Portability fix
mysql-test/t/truncate.test:
Changed TRUNCATE table_name -> TRUNCATE TABLE table_name
readline/input.c:
Portability fix
scripts/make_binary_distribution.sh:
Portability fix
sql-bench/crash-me.sh:
Portability fix
sql/mini_client.cc:
Portability fix
sql/mysqld.cc:
cleanup
sql/share/dutch/errmsg.txt:
Fixed typo
sql/share/english/errmsg.txt:
Fixed typo
sql/share/greek/errmsg.txt:
Fixed typo
sql/share/hungarian/errmsg.txt:
Fixed typo
sql/share/italian/errmsg.txt:
New translated messages
sql/share/portuguese/errmsg.txt:
Fixed typo
sql/share/romanian/errmsg.txt:
Fixed typo
sql/share/slovak/errmsg.txt:
Fixed typo
sql/share/spanish/errmsg.txt:
Fixed typo
sql/sql_yacc.yy:
Changed TRUNCATE table_name -> TRUNCATE TABLE table_name
support-files/Makefile.am:
Portability fix
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r-- | sql/sql_yacc.yy | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index fa4edf23a5f..56c8fa2557e 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -2138,10 +2138,14 @@ opt_delete_option: | LOW_PRIORITY { Lex->lock_option= TL_WRITE_LOW_PRIORITY; } truncate: - TRUNCATE_SYM table + TRUNCATE_SYM opt_table_sym table { Lex->sql_command= SQLCOM_TRUNCATE; Lex->options=0; Lex->lock_option= current_thd->update_lock_default; } +opt_table_sym: + /* empty */ + | TABLE_SYM + /* Show things */ show: SHOW { Lex->wild=0;} show_param |