1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

do not quote numbers in the DEFAULT clause in SHOW CREATE

This commit is contained in:
Sergei Golubchik
2016-07-19 11:18:58 +02:00
parent c5c9128af6
commit 6820bf9ca9
103 changed files with 4256 additions and 4252 deletions

View File

@@ -22,8 +22,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` varchar(255) DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned DEFAULT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL
@@ -43,8 +43,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` varchar(255) DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned DEFAULT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL
@@ -110,8 +110,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` text DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned DEFAULT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL
@@ -131,8 +131,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` text DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned DEFAULT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL
@@ -207,8 +207,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` varchar(255) DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned DEFAULT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL
@@ -225,8 +225,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` varchar(255) DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned DEFAULT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL
@@ -289,8 +289,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` text DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned DEFAULT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL
@@ -307,8 +307,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` text DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned DEFAULT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL
@@ -378,8 +378,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` varchar(255) DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned DEFAULT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL
@@ -394,8 +394,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` varchar(255) DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned DEFAULT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL
@@ -455,8 +455,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` text DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned DEFAULT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL
@@ -471,8 +471,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` text DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned DEFAULT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL
@@ -540,8 +540,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` varchar(255) DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned DEFAULT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL,
@@ -557,8 +557,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` varchar(255) DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned DEFAULT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL,
@@ -620,8 +620,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` varchar(255) DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned NOT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL,
@@ -637,8 +637,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` varchar(255) DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned NOT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL,
@@ -700,8 +700,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` text DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned NOT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL,
@@ -717,8 +717,8 @@ t1 CREATE TABLE `t1` (
`b1` bit(8) DEFAULT NULL,
`vc` text DEFAULT NULL,
`bc` char(255) DEFAULT NULL,
`d` decimal(10,4) DEFAULT '0.0000',
`f` float DEFAULT '0',
`d` decimal(10,4) DEFAULT 0.0000,
`f` float DEFAULT 0,
`total` bigint(20) unsigned NOT NULL,
`y` year(4) DEFAULT NULL,
`t` date DEFAULT NULL,