mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 10:15:29 +02:00
Renamed stripp_sp -> strip_sp
Remove end space from ENUM and SET strings mysql-test/t/type_enum.test: Test of end space in enum's Docs/manual.texi: Changelog include/my_sys.h: Renamed stripp_sp -> strip_sp mysql-test/r/type_enum.result: Test of end space in enums mysys/Makefile.am: change stripp_sp -> strip_sp mysys/mf_strip.c: change stripp_sp -> strip_sp sql/sql_db.cc: change stripp_sp -> strip_sp sql/sql_parse.cc: change stripp_sp -> strip_sp Remove end space from ENUM and SET strings
This commit is contained in:
parent
38fad33321
commit
940a8a4020
10 changed files with 55 additions and 13 deletions
|
|
@ -320,7 +320,7 @@ bool mysql_change_db(THD *thd,const char *name)
|
|||
uint db_access;
|
||||
DBUG_ENTER("mysql_change_db");
|
||||
|
||||
if (!dbname || !(length=stripp_sp(dbname)))
|
||||
if (!dbname || !(length=strip_sp(dbname)))
|
||||
{
|
||||
x_free(dbname); /* purecov: inspected */
|
||||
send_error(&thd->net,ER_NO_DB_ERROR); /* purecov: inspected */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue