1 
2 /*
3   +------------------------------------------------------------------------+
4   | Phalcon Framework                                                      |
5   +------------------------------------------------------------------------+
6   | Copyright (c) 2011-2013 Phalcon Team (http://www.phalconphp.com)       |
7   +------------------------------------------------------------------------+
8   | This source file is subject to the New BSD License that is bundled     |
9   | with this package in the file docs/LICENSE.txt.                        |
10   |                                                                        |
11   | If you did not receive a copy of the license and are unable to         |
12   | obtain it through the world-wide-web, please send an email             |
13   | to license@phalconphp.com so we can send you a copy immediately.       |
14   +------------------------------------------------------------------------+
15   | Authors: Andres Gutierrez <andres@phalconphp.com>                      |
16   |          Eduar Carvajal <eduar@phalconphp.com>                         |
17   |          Rack Lin <racklin@gmail.com>                                  |
18   +------------------------------------------------------------------------+
19 */
20 
21 #define PDO_ATTR_ERRMODE 3
22 #define PDO_ATTR_CASE 8
23 #define PDO_ATTR_CURSOR 10
24 #define PDO_ATTR_PERSISTENT 12
25 
26 #define PDO_CASE_LOWER 2
27 #define PDO_CURSOR_SCROLL 1
28 #define PDO_ERRMODE_SILENT 0
29 #define PDO_ERRMODE_WARNING 1
30 #define PDO_ERRMODE_EXCEPTION 2