iliaa Sat Jan 11 18:50:37 2003 EDT
Modified files:
/php4/ext/sybase_ct php_sybase_ct.c
Log:
Do not 'convert' double columns to integers after the 1st row in the result
set.
Index: php4/ext/sybase_ct/php_sybase_ct.c
diff -u php4/ext/sybase_ct/php_sybase_ct.c:1.76 php4/ext/sybase_ct/php_sybase_ct.c:1.77
--- php4/ext/sybase_ct/php_sybase_ct.c:1.76 Sat Jan 11 18:06:35 2003
+++ php4/ext/sybase_ct/php_sybase_ct.c Sat Jan 11 18:50:37 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_sybase_ct.c,v 1.76 2003/01/11 23:06:35 iliaa Exp $ */
+/* $Id: php_sybase_ct.c,v 1.77 2003/01/11 23:50:37 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
@@ -1059,7 +1059,7 @@
convert_to_long(&result->data[i][j]);
break;
case 2:
-
convert_to_double(&result->data[i][j]); result->numerics[j]= 1;
+ convert_to_double(&result->data[i][j]);
break;
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php