[2] | 1 | <?php |
---|
| 2 | |
---|
| 3 | $ADODB_LANG_ARRAY = array ( |
---|
| 4 | 'LANG' => 'en', |
---|
| 5 | DB_ERROR => 'unknown error', |
---|
| 6 | DB_ERROR_ALREADY_EXISTS => 'already exists', |
---|
| 7 | DB_ERROR_CANNOT_CREATE => 'can not create', |
---|
| 8 | DB_ERROR_CANNOT_DELETE => 'can not delete', |
---|
| 9 | DB_ERROR_CANNOT_DROP => 'can not drop', |
---|
| 10 | DB_ERROR_CONSTRAINT => 'constraint violation', |
---|
| 11 | DB_ERROR_DIVZERO => 'division by zero', |
---|
| 12 | DB_ERROR_INVALID => 'invalid', |
---|
| 13 | DB_ERROR_INVALID_DATE => 'invalid date or time', |
---|
| 14 | DB_ERROR_INVALID_NUMBER => 'invalid number', |
---|
| 15 | DB_ERROR_MISMATCH => 'mismatch', |
---|
| 16 | DB_ERROR_NODBSELECTED => 'no database selected', |
---|
| 17 | DB_ERROR_NOSUCHFIELD => 'no such field', |
---|
| 18 | DB_ERROR_NOSUCHTABLE => 'no such table', |
---|
| 19 | DB_ERROR_NOT_CAPABLE => 'DB backend not capable', |
---|
| 20 | DB_ERROR_NOT_FOUND => 'not found', |
---|
| 21 | DB_ERROR_NOT_LOCKED => 'not locked', |
---|
| 22 | DB_ERROR_SYNTAX => 'syntax error', |
---|
| 23 | DB_ERROR_UNSUPPORTED => 'not supported', |
---|
| 24 | DB_ERROR_VALUE_COUNT_ON_ROW => 'value count on row', |
---|
| 25 | DB_ERROR_INVALID_DSN => 'invalid DSN', |
---|
| 26 | DB_ERROR_CONNECT_FAILED => 'connect failed', |
---|
| 27 | 0 => 'no error', // DB_OK |
---|
| 28 | DB_ERROR_NEED_MORE_DATA => 'insufficient data supplied', |
---|
| 29 | DB_ERROR_EXTENSION_NOT_FOUND=> 'extension not found', |
---|
| 30 | DB_ERROR_NOSUCHDB => 'no such database', |
---|
| 31 | DB_ERROR_ACCESS_VIOLATION => 'insufficient permissions' |
---|
| 32 | ); |
---|
| 33 | ?> |
---|
| 34 | |
---|