diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-01-17 09:11:20 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-01-17 09:11:20 +0100 |
commit | 1433621c14e480dbedf3d7ea2b4885cff94bc6e5 (patch) | |
tree | 1c7e1a241c115c731fc91debcdc6fa714c931a7a /sql/sql_trigger.cc | |
parent | 8b278b44154009168e4bf7b377f5b21159c5dfb4 (diff) | |
download | mariadb-git-1433621c14e480dbedf3d7ea2b4885cff94bc6e5.tar.gz |
fixes for non-debug builds (CMAKE_BUILD_TYPE=Release or RelWithDebInfo)
client/CMakeLists.txt:
1. -rdynamic is a linker flag.
2. it should be used in all builds, not debug only
libmysql/get_password.c:
prefer a standard function, when possible
(otherwise a plugin will need to load it from the client)
Diffstat (limited to 'sql/sql_trigger.cc')
-rw-r--r-- | sql/sql_trigger.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_trigger.cc b/sql/sql_trigger.cc index dacdaca3fa2..1ac1d7bbb5e 100644 --- a/sql/sql_trigger.cc +++ b/sql/sql_trigger.cc @@ -1722,7 +1722,7 @@ bool add_table_for_trigger(THD *thd, LEX *lex= thd->lex; char trn_path_buff[FN_REFLEN]; LEX_STRING trn_path= { trn_path_buff, 0 }; - LEX_STRING tbl_name; + LEX_STRING tbl_name= null_lex_str; DBUG_ENTER("add_table_for_trigger"); |