-
Notifications
You must be signed in to change notification settings - Fork 17
/
MySQL_Definitions.php
38 lines (35 loc) · 1.17 KB
/
MySQL_Definitions.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/**
* This file will contain needed definitions for MYSQL
* http://www.php.net/manual/en/mysql.constants.php
*
* @author Aziz S. Hussain <[email protected]>
* @copyright GPL license
* @license http://www.gnu.org/copyleft/gpl.html
* @link http://www.AzizSaleh.com
*/
if (defined('MYSQL_ASSOC')) {
return;
}
define('MYSQL_CLIENT_LONG_PASSWORD', 1);
define('MYSQL_CLIENT_FOUND_ROWS', 2);
define('MYSQL_CLIENT_LONG_FLAG', 4);
define('MYSQL_CLIENT_CONNECT_WITH_DB', 8);
define('MYSQL_CLIENT_NO_SCHEMA', 16);
define('MYSQL_CLIENT_COMPRESS', 32);
define('MYSQL_CLIENT_ODBC', 64);
define('MYSQL_CLIENT_LOCAL_FILES', 128);
define('MYSQL_CLIENT_IGNORE_SPACE', 256);
define('MYSQL_CLIENT_PROTOCOL', 512);
define('MYSQL_CLIENT_INTERACTIVE', 1024);
define('MYSQL_CLIENT_SSL', 2048);
define('MYSQL_CLIENT_IGNORE_SIGPIPE', 4096);
define('MYSQL_CLIENT_TRANSACTIONS', 8192);
define('MYSQL_CLIENT_RESERVED', 16384);
define('MYSQL_CLIENT_SECURE_CONNECTION', 32768);
define('MYSQL_CLIENT_MULTI_STATEMENTS', 65535);
define('MYSQL_CLIENT_MULTI_RESULTS', 131072);
define('MYSQL_CLIENT_REMEMBER_OPTIONS', 1 << 31);
define('MYSQL_ASSOC', 1);
define('MYSQL_NUM', 2);
define('MYSQL_BOTH', 3);