Query splitted to 50 chars
Posted by: LEMARECHAL cedric
Date: January 11, 2006 03:46AM

I made a MySQL class with a "Execute" member that execute a query with mysql_query fonction

before mysql_query execution, i got
SELECT COUNT(*) FROM `utilisateurs` WHERE `admin`='Y'

step in and i got
SELECT COUNT(*) FROM `utilisateurs` WHERE `ad42000

in my sql query buffer and mysql_query returns with 1

mysql_errno returns 1064

my question is : why mysql_query splitted my query to 50 caracters ?????

Many thanks by advance

P.S.: if the query length is less than 50 chars, the query execute normally



Edited 1 time(s). Last edit at 01/11/2006 03:53AM by LEMARECHAL cedric.

Options: ReplyQuote


Subject
Views
Written By
Posted
Query splitted to 50 chars
935
January 11, 2006 03:46AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.