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
func_op.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++
- # Description
- # -----------
- # Simple operands and arithmetic grouping
- select 1+1,1-1,1+1*2,8/5,8%5,mod(8,5),mod(8,5)|0,-(1+1)*-2;
- explain extended select 1+1,1-1,1+1*2,8/5,8%5,mod(8,5),mod(8,5)|0,-(1+1)*-2;
- select 1 | (1+1),5 & 3,bit_count(7) ;
- explain extended select 1 | (1+1),5 & 3,bit_count(7) ;
- select 1 << 32,1 << 63, 1 << 64, 4 >> 2, 4 >> 63, 1<< 63 >> 60;
- #
- # bug #1993: bit functions must be unsigned
- #
- select -1 | 0, -1 ^ 0, -1 & 0;
- select -1 | 1, -1 ^ 1, -1 & 1;
- select 1 | -1, 1 ^ -1, 1 & -1;
- select 0 | -1, 0 ^ -1, 0 & -1;
- select -1 >> 0, -1 << 0;
- select -1 >> 1, -1 << 1;
- # End of 4.1 tests