From 49a383ef4f4221bc543e8acfa9749479ec87a7e0 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Sun, 27 Feb 2005 11:29:17 +0000 Subject: initial checkin --- ext/pdo_mysql/get_error_codes.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 ext/pdo_mysql/get_error_codes.php (limited to 'ext') diff --git a/ext/pdo_mysql/get_error_codes.php b/ext/pdo_mysql/get_error_codes.php new file mode 100644 index 0000000000..2785c93b99 --- /dev/null +++ b/ext/pdo_mysql/get_error_codes.php @@ -0,0 +1,27 @@ + $state) { + echo "#ifdef $code\n"; + printf(" case %-{$maxlen}s: return \"%s\";\n", $code, $state); + echo "#endif\n"; + } + + +?> \ No newline at end of file -- cgit v1.2.1