Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
outfile.test
Package: mysql-3.23.35.tar.gz [view]
Upload User: tsgydb
Upload Date: 2007-04-14
Package Size: 10674k
Code Size: 1k
Category:
MySQL
Development Platform:
Visual C++
- #
- # test of into outfile|dumpfile
- #
- # We need to check that we have 'file' privilege.
- #drop table if exists t1;
- #create table t1 (`a` blob);
- #insert into t1 values("hello world"),("Hello mars"),(NULL);
- #select * into outfile "/tmp/select-test.1" from t1;
- #select load_file("/tmp/select-test.1");
- #select * into dumpfile "/tmp/select-test.2" from t1 limit 1;
- #select load_file("/tmp/select-test.2");
- #select * into dumpfile "/tmp/select-test.3" from t1 where a is null;
- #select load_file("/tmp/select-test.3");
- #
- ## the following should give errors
- #
- #select * into outfile "/tmp/select-test.1" from t1;
- #select * into dumpfile "/tmp/select-test.1" from t1;
- #select * into dumpfile "/tmp/select-test.99" from t1;
- #select load_file("/tmp/select-test.not-exist");
- #drop table t1;