mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
Cleanup of tests
Fixed bug with ALTER TABLE on HEAP tables
This commit is contained in:
parent
767e2ef6d1
commit
60677ffd2c
24 changed files with 283 additions and 225 deletions
|
|
@ -37,7 +37,7 @@
|
|||
** Tõnu Samuel <tonu@please.do.not.remove.this.spam.ee>
|
||||
**/
|
||||
|
||||
#define DUMP_VERSION "8.11"
|
||||
#define DUMP_VERSION "8.12"
|
||||
|
||||
#include <global.h>
|
||||
#include <my_sys.h>
|
||||
|
|
@ -863,9 +863,14 @@ static char *add_load_option(char *ptr,const char *object,
|
|||
{
|
||||
if (object)
|
||||
{
|
||||
ptr= strxmov(ptr," ",statement," '",NullS);
|
||||
ptr= field_escape(ptr,object,(uint) strlen(object));
|
||||
*ptr++= '\'';
|
||||
if (!strncasecmp(object,"0x",2)) /* hex constant; don't escape */
|
||||
ptr= strxmov(ptr," ",statement," ",object,NullS);
|
||||
else /* char constant; escape */
|
||||
{
|
||||
ptr= strxmov(ptr," ",statement," '",NullS);
|
||||
ptr= field_escape(ptr,object,(uint) strlen(object));
|
||||
*ptr++= '\'';
|
||||
}
|
||||
}
|
||||
return ptr;
|
||||
} /* add_load_option */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue