From 2bf0a0e5af1615a4af635695de3d18ece0950205 Mon Sep 17 00:00:00 2001 From: "Tomas V.V.Cox" Date: Tue, 10 Jul 2001 21:49:51 +0000 Subject: added NEED_MORE_DATA error message to $errorMessages --- pear/DB.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pear/DB.php b/pear/DB.php index 20a724ff17..3e4012ddd4 100644 --- a/pear/DB.php +++ b/pear/DB.php @@ -351,11 +351,12 @@ class DB DB_ERROR_SYNTAX => 'syntax error', DB_ERROR_UNSUPPORTED => 'not supported', DB_ERROR_VALUE_COUNT_ON_ROW => 'value count on row', - DB_ERROR_INVALID_DSN => "invalid DSN", - DB_ERROR_CONNECT_FAILED => "connect failed", + DB_ERROR_INVALID_DSN => 'invalid DSN', + DB_ERROR_CONNECT_FAILED => 'connect failed', DB_OK => 'no error', DB_WARNING => 'unknown warning', - DB_WARNING_READ_ONLY => 'read only' + DB_WARNING_READ_ONLY => 'read only', + DB_ERROR_NEED_MORE_DATA => 'insufficient data supplied' ); } -- cgit v1.2.1