PHP 4.0 Bug #6355: mssql_query crash when I try 'insert', 'update' or 'delete'
| From: | lrvazquez at megared dot net dot mx | Date: | Fri, 25 Aug 2000 15:28:37 +0000 |
| Subject: | PHP 4.0 Bug #6355: mssql_query crash when I try 'insert', 'update' or 'delete' | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30655@lists.php.net to get a copy of this message | ||
From: lrvazquez@megared.net.mx
Operating system: SPARC/Solaris 2.6
PHP version: 4.0.1pl2
PHP Bug Type: MSSQL related
Bug description: mssql_query crash when I try 'insert', 'update' or
'delete'
$connection = mssql_connect($hostname,$username,$password);
mssql_select_db($dbname);
$sql_query = "insert into $tablename(politica,scope)
values('PCConfig','PCConfig')" ;
$query_result =mssql_query($sql_query) ; <--- here crash
It makes the query fine but after crash before the next
line.
When I do a 'select' works fine, but with 'insert', 'update'
and 'delete' httpd crash...
I have apache 1.3.12/PHP 4.0.1pl2/freetds 0.50 accesing MS-
SQL 6.5
PHP configure
./configure --with-system-regex
--disable-debug --enable-track-vars
--without-gd --without-mysql
--with-sybase=/usr/local/freetds --disable-pear
I compile apache with --disable-shared.
The message is
/kernel: pid 277 (httpd), uid 65534: exited on signal 11
I try on FreeBSD with the same packages and lighly different
configuration but crash in mssql_query, too.