mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 19:06:14 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			337 lines
		
	
	
	
		
			8 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			337 lines
		
	
	
	
		
			8 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| DROP TABLE IF EXISTS t3;
 | |
| CREATE TABLE t3(c1 TINYINT UNSIGNED NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` tinyint(3) unsigned DEFAULT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 SMALLINT UNSIGNED NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` smallint(5) unsigned DEFAULT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 MEDIUMINT UNSIGNED NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` mediumint(8) unsigned DEFAULT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 INT UNSIGNED NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` int(10) unsigned DEFAULT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 INTEGER UNSIGNED NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` int(10) unsigned DEFAULT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 BIGINT UNSIGNED NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` bigint(20) unsigned DEFAULT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 DECIMAL UNSIGNED NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` decimal(10,0) unsigned DEFAULT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 DEC UNSIGNED NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` decimal(10,0) unsigned DEFAULT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 FIXED UNSIGNED NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` decimal(10,0) unsigned DEFAULT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 NUMERIC UNSIGNED NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` decimal(10,0) unsigned DEFAULT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 DOUBLE UNSIGNED NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` double unsigned DEFAULT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 REAL UNSIGNED NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` double unsigned DEFAULT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 DOUBLE PRECISION UNSIGNED NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` double unsigned DEFAULT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 FLOAT UNSIGNED NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` float unsigned DEFAULT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 TINYINT UNSIGNED NOT NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` tinyint(3) unsigned NOT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 SMALLINT UNSIGNED NOT NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` smallint(5) unsigned NOT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 MEDIUMINT UNSIGNED NOT NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` mediumint(8) unsigned NOT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 INT UNSIGNED NOT NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` int(10) unsigned NOT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 INTEGER UNSIGNED NOT NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` int(10) unsigned NOT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 BIGINT UNSIGNED NOT NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` bigint(20) unsigned NOT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 DECIMAL UNSIGNED NOT NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` decimal(10,0) unsigned NOT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 DEC UNSIGNED NOT NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` decimal(10,0) unsigned NOT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 FIXED UNSIGNED NOT NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` decimal(10,0) unsigned NOT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 NUMERIC UNSIGNED NOT NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` decimal(10,0) unsigned NOT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 DOUBLE UNSIGNED NOT NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` double unsigned NOT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 REAL UNSIGNED NOT NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` double unsigned NOT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 DOUBLE PRECISION UNSIGNED NOT NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` double unsigned NOT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| CREATE TABLE t3(c1 FLOAT UNSIGNED NOT NULL);
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | |
| t3
 | |
| SHOW CREATE TABLE t3;
 | |
| Table	Create Table
 | |
| t3	CREATE TABLE `t3` (
 | |
|   `c1` float unsigned NOT NULL
 | |
| ) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| DROP TABLE t3;
 | |
| SHOW TABLES;
 | |
| Tables_in_test
 | 
