mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
set_var.cc:
Silence compiler warning. sql/set_var.cc: Silence compiler warning. BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
This commit is contained in:
@ -164,6 +164,7 @@ paul@frost.snake.net
|
|||||||
paul@ice.local
|
paul@ice.local
|
||||||
paul@ice.snake.net
|
paul@ice.snake.net
|
||||||
paul@kite-hub.kitebird.com
|
paul@kite-hub.kitebird.com
|
||||||
|
paul@snake-hub.snake.net
|
||||||
paul@teton.kitebird.com
|
paul@teton.kitebird.com
|
||||||
pekka@mysql.com
|
pekka@mysql.com
|
||||||
pem@mysql.com
|
pem@mysql.com
|
||||||
|
@ -2948,7 +2948,7 @@ bool sys_var_thd_storage_engine::check(THD *thd, set_var *var)
|
|||||||
enum db_type db_type;
|
enum db_type db_type;
|
||||||
if (!(res=var->value->val_str(&str)) ||
|
if (!(res=var->value->val_str(&str)) ||
|
||||||
!(var->save_result.ulong_value=
|
!(var->save_result.ulong_value=
|
||||||
(ulong) db_type= ha_resolve_by_name(res->ptr(), res->length())) ||
|
(ulong) (db_type= ha_resolve_by_name(res->ptr(), res->length()))) ||
|
||||||
ha_checktype(db_type) != db_type)
|
ha_checktype(db_type) != db_type)
|
||||||
{
|
{
|
||||||
value= res ? res->c_ptr() : "NULL";
|
value= res ? res->c_ptr() : "NULL";
|
||||||
|
Reference in New Issue
Block a user