You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
Fix deprication warnings in the MTR with select * from .. into
This commit is contained in:
committed by
Leonid Fedorov
parent
41beae9a25
commit
8c8e3ab842
@@ -1,24 +1,18 @@
|
||||
USE tpch1;
|
||||
select n_nationkey, n_name into outfile '/tmp/bug3935_outfile.txt'
|
||||
FIELDS TERMINATED BY '|' LINES TERMINATED BY '/n' from nation;
|
||||
select n_nationkey, n_name from nation into outfile '/tmp/bug3935_outfile.txt'
|
||||
FIELDS TERMINATED BY '|' LINES TERMINATED BY '/n';
|
||||
Warnings:
|
||||
Warning 1287 '<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
|
||||
select n_nationkey, n_name into outfile '/tmp/bug3935_outfile.txt'
|
||||
FIELDS TERMINATED BY '|' LINES TERMINATED BY '/n' from nation;
|
||||
select n_nationkey, n_name into outfile '/tmp/bug3935_outfile.txt'
|
||||
FIELDS TERMINATED BY '|' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '/n'
|
||||
from nation;
|
||||
SELECT 'ID', 'Name' UNION (SELECT n_nationkey, n_name
|
||||
FROM nation ORDER BY n_name DESC) INTO OUTFILE
|
||||
'/tmp/bug3935_outfile.txt' FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n';
|
||||
Warnings:
|
||||
Warning 1287 '<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
|
||||
ORDER BY n_name DESC) INTO OUTFILE
|
||||
'/tmp/bug3935_outfile.txt' FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' FROM nation;
|
||||
SELECT 'ID', 'Name' UNION (SELECT n_nationkey, n_name
|
||||
FROM nation ORDER BY n_name DESC) INTO OUTFILE
|
||||
ORDER BY n_name DESC) INTO OUTFILE
|
||||
'/tmp/bug3935_outfile.txt' FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
|
||||
LINES TERMINATED BY '\n';
|
||||
Warnings:
|
||||
Warning 1287 '<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
|
||||
LINES TERMINATED BY '\n' FROM nation;
|
||||
SELECT *
|
||||
INTO OUTFILE '/tmp/bug3935_outfile.txt'
|
||||
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '\"'
|
||||
|
Reference in New Issue
Block a user