1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Quoting of TIMESTAMP columns and small optimizations

This commit is contained in:
monty@donna.mysql.com
2000-09-02 07:58:42 +03:00
parent 7155d2a14c
commit 4496d43faa
23 changed files with 365 additions and 325 deletions

View File

@ -37,7 +37,7 @@
** T<>nu Samuel <tonu@please.do.not.remove.this.spam.ee>
**/
#define DUMP_VERSION "8.8"
#define DUMP_VERSION "8.9"
#include <global.h>
#include <my_sys.h>
@ -943,7 +943,7 @@ static void dumpTable(uint numFields, char *table)
{
if (length)
{
if (!IS_NUM(field->type))
if (!IS_NUM_FIELD(field))
{
if (dynstr_realloc(&extended_row,length * 2+2))
{
@ -975,7 +975,7 @@ static void dumpTable(uint numFields, char *table)
putchar(',');
if (row[i])
{
if (!IS_NUM(field->type))
if (!IS_NUM_FIELD(field))
unescape(stdout, row[i], lengths[i]);
else
fputs(row[i],stdout);