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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user