mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Changed --replace to --replace_result in mysqltest
Changed errmsg -> my_errmsg (portability issue) Fixed that mysqlbinlog writes SET TIMESTAMP before all queries Fixed comments in default my.cnf files
This commit is contained in:
parent
7de40020d7
commit
450d98e341
31 changed files with 297 additions and 124 deletions
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
/* Define some external variables for error handling */
|
||||
|
||||
const char ** NEAR errmsg[MAXMAPS]={0,0,0,0};
|
||||
const char ** NEAR my_errmsg[MAXMAPS]={0,0,0,0};
|
||||
char NEAR errbuff[NRERRBUFFS][ERRMSGSIZE];
|
||||
|
||||
/* Error message to user */
|
||||
|
|
@ -42,10 +42,10 @@ int my_error(int nr,myf MyFlags, ...)
|
|||
va_start(ap,MyFlags);
|
||||
DBUG_PRINT("my", ("nr: %d MyFlags: %d errno: %d", nr, MyFlags, errno));
|
||||
|
||||
if (nr / ERRMOD == GLOB && errmsg[GLOB] == 0)
|
||||
if (nr / ERRMOD == GLOB && my_errmsg[GLOB] == 0)
|
||||
init_glob_errs();
|
||||
|
||||
olen=(uint) strlen(tpos=errmsg[nr / ERRMOD][nr % ERRMOD]);
|
||||
olen=(uint) strlen(tpos=my_errmsg[nr / ERRMOD][nr % ERRMOD]);
|
||||
endpos=ebuff;
|
||||
|
||||
while (*tpos)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue