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
ansi.test
Package: mysql-4.1.16-win-src.zip [view]
Upload User: romrleung
Upload Date: 2022-05-23
Package Size: 18897k
Code Size: 1k
Category:
MySQL
Development Platform:
Visual C++
- #
- # Test of ansi mode
- #
- --disable_warnings
- drop table if exists t1;
- --enable_warnings
- set sql_mode="MySQL40";
- select @@sql_mode;
- set @@sql_mode="ANSI";
- select @@sql_mode;
- # Test some functions that works different in ansi mode
- SELECT 'A' || 'B';
- # Test GROUP BY behaviour
- CREATE TABLE t1 (id INT, id2 int);
- SELECT id,NULL,1,1.1,'a' FROM t1 GROUP BY id;
- #No --error 1055 error due to temporary fix for BUG#8510:
- #ONLY_FULL_GROUP_BY is overly restrictive, so remove it from ANSI mode.
- SELECT id FROM t1 GROUP BY id2;
- drop table t1;
- SET @@SQL_MODE="";
- # End of 4.1 tests