Menu

#1832 (in 2.7.0) Chance you have found bug in the SQL parser

2.6.4-pl2
fixed
nobody
1
2014-09-25
2005-10-22
No

I was doing a batch update on a table (I had the wrong
name) when I got this message back.
----------------------------------------------------------------------------------------------------------------------------------------
There is a chance that you may have found a bug in the
SQL parser. Please examine your query closely, and
check that the quotes are correct and not mis-matched.
Other possible failure causes may be that you are
uploading a file with binary outside of a quoted text
area. You can also try your query on the MySQL command
line interface. The MySQL server error output below, if
there is any, may also help you in diagnosing the
problem. If you still have problems or if the parser
fails where the command line interface succeeds, please
reduce your SQL query input to the single query that
causes problems, and submit a bug report with the data
chunk in the CUT section below:
----BEGIN CUT----
eNqVVL9v2zoQ3vVX3FA0CeAotpOmqYIOtMy4KmTJpWQXyVRaYh0WNOlSotH63+zWLWOGTN06vZP8
A8XL6/AACTqSd/fd9x1PlLGUBRD2IOxDTJMALl+f43sBve7VGy/L8fB3oYTxvHCWBfAiKgOovqoV
t5WwvpJzf3W/6qyh759fQr/bfXXWvcIHzaDfD3o9UGL5Bui3Fbzwxt+zD3EAF37P753zU11704xB
mnWAjGiSd2BGEe6j1DBO76I4JvDK73qTMQkw/aV/cbpSfW/ybtL4ddKsyXThd+FjlCS5F5NkFIDQ
p67+fHrltUhRklGW4ydP4dOMW8nnSlSfIKO5l4tKVolbCmsA4C0c9brd3lFnu38jinsO2/3u6zN8
Gmr7U+JqY3enRJf2sYKQL1em6sAYQZTbQCzWQiEvFEjU93D7uBKbfXgua6d2oIymbESS6I6E0Y8E
KAo+DfMpIzHcws00CaM0QXtIAdUYRoyGrR+uMzqasmhIhriIYRwlUZZTFqXtkowHESpKMUkTmmaA
kVOWoZGQNj3N4HhMWHLiwzGjk5+DOAoJDNI4mhEWkYQ0gTOa0LspjcnJvvahqLlCDdvahahq64ra
WV7IXxpKoeDBCo4GhEbX1ig0PQBa1a6Upmo9QqPEQhqYarkWtpI1SmZgYs1nH2Jjhd7g6tGKDTBT
2qeFQ8tYKXTNSw4c0znNIXSqwW2gMmHXspDGh5fYhWtVX89bY1Fft53iAcaM3Gb5oJv+PHGgbiG0
5HCMXe2d+Puws0McBmBBK4cEWwgmjF1wLTd7oqCQzR64Qvdmi8NAzpU0tSg4vPzqTH0dO1nBQKja
IvgEWdQGbiRysoZvPXaRezVKXjaCfVsJK5cNZ7XLlMklIh8k2QUn7XDChOOFmglbir+JEMCI2wK5
txXdCKu5Ls3/UeBZs5uyRwIbVki+VYCJwtkKlXnnlly3/YaJ1GbNO5D55K8NqgJIEUxsOLwXXOtm
ZL7DB4dDhDUyU21b1T95XudhqLBDkm+HqrGf+K7C9N+Nw/ZXhROHIyR44D+3+7y7HKF6qGSxz0XK
pWwCthL8R9SYa8eb8UD/P4GfeybGLjG9WeNF1AcSf/xYbvkXLvGCx+hl8Y/SSNlMxdE/QETbYQ==
----END CUT----
----BEGIN RAW----

ERROR: C1 C2 LEN: 673 674 1089
STR: ?cleo

CVS: $Id: sqlparser.lib.php,v 2.36 2005/08/08 20:22:11
lem9 Exp $
MySQL: 4.1.13a-nt
USR OS, AGENT, VER: Win MOZILLA 5.0
PMA: 2.6.4-pl2
PHP VER,OS: 4.4.0 WINNT
LANG: en-utf-8
SQL: INSERT INTO `Variables` SET
TesisNumero = '1001',
TesisFecha = '07/07/2005',
TesisAutor = 'Andr?s Campos, Mariluz Level, Alibeth
Y?pez',
TesisTitulo = 'REORGANIZACI?N ESTRUCTURAL Y FUNCIONAL
DE LA DIRECCI?N DE SEGURIDAD DEL MINISTERIO DEL
AMBIENTE Y DE LOS RECURSOS NATURALES (MARN). (REP?BLICA
BOLIVARIANA DE VENEZUELA)',
TesisDetalles = 'Reestructuraci?n del ?rea de Control de
Estudios del Colegio Universitario Prof. Lorenzo
P?rez Rodr?guez orientada a
una Cultura de Servicio. <b>Autora:
Guzm?n Mar?a Eugenia (2001).</b>
Propuesta de Reorganizaci?n de los Servicios
de la Biblioteca "Luis Beltr?n Prieto Figueroa" de la
Universidad
Experimental "Sim?n Rodr?guez" N?cleo Palo Verde.
<b>Autor: Garc?a Luis Fernando (2001).</b>
Propuesta de Reestructuraci?n de la Gerencia
de Recursos Humanos de Pinova, S.A. <b>Autoras:
Oropeza Jeanneth y Quevedo Rosa (2002)</b>',
TesisTeoria = 'Teor?a de la Organizaci?n de la
Escuela Organista.<br>Teor?a Cl?sica de la
Administraci?n.<br>Manuales de
Organizaci?n<br>Norma Covenin',
TesisTutor = 'Yajaira La Cruz de P?rez'

----END RAW----

SQL query:

INSERT INTO `Variables` SET TesisNumero = '1001',
TesisFecha = '07/07/2005', TesisAutor = 'Andr?s Campos,
Mariluz Level, Alibeth Y?pez', TesisTitulo =
'REORGANIZACI?N ESTRUCTURAL Y FUNCIONAL DE LA DIRECCI?N
DE SEGURIDAD DEL MINISTERIO DEL AMBIENTE Y DE LOS
RECURSOS NATURALES (MARN). (REP?BLICA BOLIVARIANA DE
VENEZUELA)', TesisDetalles = 'Reestructuraci?n del ?rea
de Control de Estudios del Colegio Universitario Prof.
Lorenzo P?rez Rodr?guez orientada a una Cultura de
Servicio. <b>Autora: Guzm?n Mar?a Eugenia (2001).</b>
Propuesta de Reorganizaci?n de los Servicios de la
Biblioteca "Luis Beltr?n Prieto Figueroa" de la
Universidad Experimental "Sim?n Rodr?guez" N?cleo Palo
Verde. <b>Autor: Garc?a Luis Fernando (2001).</b>
Propuesta de Reestructuraci?n de la Gerencia de
Recursos Humanos de Pinova, S.A. <b>Autoras: Oropeza
Jeanneth y Quevedo Rosa (2002)</b>', TesisTeoria =
'Teor?a de la Organizaci?n de la Escuela
Organista.<br>Teor?a Cl?sica de la
Administraci?n.<br>Manuales de Organizaci?n<br>Norma
Covenin', TesisTutor = 'Yajaira La Cruz de P?rez'
-----------------------------------------------------------------------------------------------------------------------------
I solved my problem, I had the name of the table bad it
was Tesis not Variables, ran the same batch and it worked.
That was a few days ago, very late in the night, so I
only saved this response and kept it for further
investigation.

Today (with more time) I tried to reproduce the same
problem, I couldn't, but I got a few strange messages
back as you will see bellow.

-----First of all I only tried to do the same query via
the query sql window and I got back the normal message
statin that th Variables Table didn't exist - OK for now.

-----Second I tried to run the original batch file and
I got back this message:
------------------------------------------------------------------------------------------------------------------------------
There seems to be an error in your SQL query. The MySQL
server error output below, if there is any, may also
help you in diagnosing the problem

ERROR: Unknown Punctuation String @ 518
STR: </
SQL: INSERT INTO `Variables` SET
TesisNumero = '1001',
TesisFecha = '07/07/2005',
TesisAutor = 'Andr?s Campos, Mariluz Level, Alibeth
Y?pez',
TesisTitulo = 'REORGANIZACI?N ESTRUCTURAL Y FUNCIONAL
DE LA DIRECCI?N DE SEGURIDAD DEL MINISTERIO DEL
AMBIENTE Y DE LOS RECURSOS NATURALES (MARN). (REP?BLICA
BOLIVARIANA DE VENEZUELA)',
TesisDetalles = 'Reestructuraci?n del ?rea de Control de
Estudios del Colegio Universitario Prof. Lorenzo
P?rez Rodr?guez orientada a
una Cultura de Servicio. <b>Autora:
Guzm?n Mar?a Eugenia (2001).</b>
Propuesta de Reorganizaci?n de los Servicios
de la Biblioteca "Luis Beltr?n Prieto Figueroa" de la
Universidad
Experimental "Sim?n Rodr?guez" N?cleo Palo Verde.
<b>Autor: Garc?a Luis Fernando (2001).</b>;
Propuesta de Reestructuraci?n de la Gerencia
de Recursos Humanos de Pinova, S.A. <b>Autoras:
Oropeza Jeanneth y Quevedo Rosa (2002)</b>',
TesisTeoria = 'Teor?a de la Organizaci?n de la
Escuela Organista.<b>Teor?a Cl?sica de la
Administraci?n.<b>Manuales de Organizaci?n</b>Norma
Covenin',
TesisTutor = 'Yajaira La Cruz de P?rez'

SQL query:

INSERT INTO `Variables` SET TesisNumero = '1001',
TesisFecha = '07/07/2005', TesisAutor = 'Andr?s Campos,
Mariluz Level, Alibeth Y?pez', TesisTitulo =
'REORGANIZACI?N ESTRUCTURAL Y FUNCIONAL DE LA DIRECCI?N
DE SEGURIDAD DEL MINISTERIO DEL AMBIENTE Y DE LOS
RECURSOS NATURALES (MARN). (REP?BLICA BOLIVARIANA DE
VENEZUELA)', TesisDetalles = 'Reestructuraci?n del ?rea
de Control de Estudios del Colegio Universitario Prof.
Lorenzo P?rez Rodr?guez orientada a una Cultura de
Servicio. <b>Autora: Guzm?n Mar?a Eugenia (2001).</b>
Propuesta de Reorganizaci?n de los Servicios de la
Biblioteca "Luis Beltr?n Prieto Figueroa" de la
Universidad Experimental "Sim?n Rodr?guez" N?cleo Palo
Verde. <b>Autor: Garc?a Luis Fernando (2001).</b>;
Propuesta de Reestructuraci?n de la Gerencia de
Recursos Humanos de Pinova, S.A. <b>Autoras: Oropeza
Jeanneth y Quevedo Rosa (2002)</b>', TesisTeoria =
'Teor?a de la Organizaci?n de la Escuela
Organista.<b>Teor?a Cl?sica de la
Administraci?n.<b>Manuales de Organizaci?n</b>Norma
Covenin', TesisTutor = 'Yajaira La Cruz de P?rez'

MySQL said: Documentation
#1146 - Table '5649.Variables' doesn't exist
---------------------------------------------------------------------------------------------------------------------------------------------
As you can see, this is not the normal response in case
of an error even though the final line correctly stated
that Variables table does not exist.

-----Third I tried again in another form (really don't
remember how) and got this message back:
--------------------------------------------------------------------------------------------------------------------------------------------
SQL query:

INSERT INTO `Variables`
SET TesisNumero = '1001',
TesisFecha = '07/07/2005',
TesisAutor = 'Andr&#65533;s Campos, Mariluz Level, Alibeth Y&#65533;pez',
TesisTitulo = 'REORGANIZACI&#65533;N ESTRUCTURAL Y FUNCIONAL
DE LA DIRECCI&#65533;N DE SEGURIDAD DEL MINISTERIO DEL
AMBIENTE Y DE LOS RECURSOS NATURALES (MARN). (REP&#65533;BLICA
BOLIVARIANA DE VENEZUELA)',
TesisDetalles = 'Reestructuraci&#65533;n del &#65533;rea de Control
de Estudios del Colegio Universitario Prof. Lorenzo
P&#65533;rez Rodr&#65533;guez orientada a una Cultura de Servicio.
&lt;b&gt;Autora: Guzm&#65533;n Mar&#65533;a Eugenia (2001).&lt;/b&gt;
Propuesta de Reorganizaci&#65533;n de los Servicios de la
Biblioteca "Luis Beltr&#65533;n Prieto Figueroa" de la
Universidad Experimental "Sim&#65533;n Rodr&#65533;guez" N&#65533;cleo Palo
Verde. &lt;b&gt;Autor: Garc&#65533;a Luis Fernando
(2001).&lt;/b&gt;; Propuesta de Reestructuraci&#65533;n de la
Gerencia de Recursos Humanos de Pinova, S.A.
&lt;b&gt;Autoras: Oropeza Jeanneth y Quevedo Rosa
(2002)&lt;/b&gt;',
TesisTeoria = 'Teor&#65533;a de la Organizaci&#65533;n de la Escuela
Organista.&lt;b&gt;Teor&#65533;a Cl&#65533;sica de la
Administraci&#65533;n.&lt;b&gt;Manuales de
Organizaci&#65533;n&lt;/b&gt;Norma Covenin',
TesisTutor = 'Yajaira La Cruz de P&#65533;rez'

MySQL said: Documentation
#1146 - Table '5649.Variables' doesn't exist
------------------------------------------------------------------------------------------------------------------------------------------------
As you can see this return message is OK.

Even though, the original SQL Statement is as follow:
BEGIN-------------------------------
INSERT INTO `Variables` SET
TesisNumero = '1001',
TesisFecha = '07/07/2005',
TesisAutor = 'Andrés Campos, Mariluz Level, Alibeth
Yépez',
TesisTitulo = 'REORGANIZACIÓN ESTRUCTURAL Y FUNCIONAL
DE LA DIRECCIÓN DE SEGURIDAD DEL MINISTERIO DEL
AMBIENTE Y DE LOS RECURSOS NATURALES (MARN). (REPÚBLICA
BOLIVARIANA DE VENEZUELA)',
TesisDetalles = 'Reestructuración del área de Control de
Estudios del Colegio Universitario Prof. Lorenzo
Pérez Rodríguez orientada a
una Cultura de Servicio. <b>Autora:
Guzmán Maráa Eugenia (2001).</b>
Propuesta de Reorganización de los Servicios
de la Biblioteca "Luis Beltrán Prieto Figueroa" de la
Universidad
Experimental "Simón Rodríguez" Núcleo Palo Verde.
<b>Autor: García Luis Fernando (2001).</b>;
Propuesta de Reestructuración de la Gerencia
de Recursos Humanos de Pinova, S.A. <b>Autoras:
Oropeza Jeanneth y Quevedo Rosa (2002)</b>',
TesisTeoria = 'Teoría de la Organización de la
Escuela Organista.<b>Teoría Clásica de la
Administración.<b>Manuales de Organización</b>Norma
Covenin',
TesisTutor = 'Yajaira La Cruz de Pérez';
------------------------------------------------------------END

Why do I get back Such strange responses?.

Why do I get back the strange characters instead of the
accented?

Discussion

<< < 1 2 (Page 2 of 2)
  • Marc Delisle

    Marc Delisle - 2005-11-09

    Logged In: YES
    user_id=210714

    MORE I just downloaded xampp 1.5.0-pl1 from xampp.org. This
    is a good kit for Windows. I installed it on a XP machine,
    started it, switched to spanish language, and tried your
    query. No problem.

     
  • Carlos Pérez

    Carlos Pérez - 2005-11-09

    Logged In: YES
    user_id=1204910

    In response to:
    Comment By: Marc Delisle (lem9)
    Date: 2005-11-09 08:09

    Soory for the delay, I was in a working meeting till now.

    NO that is not what I did.

    What I'm saying is:
    With my actual installation (windows xp at home) what I did
    was downloaded the PhpMyAdmin version 2.6.4-pl3 upgrading
    from the PhpMyAdmin version 2.6.3-pl1.

    It's the only change I made, I didn't upgrade windows, nor
    MySql nor PHP.

    In fact if I go back to the 2.6.3 version I don't have this
    (and a few other) problems with phpmyadmin.

     
  • Marc Delisle

    Marc Delisle - 2005-11-09

    Logged In: YES
    user_id=210714

    Do you want a solution? If yes, try xampp on your windows
    machine. It contains phpMyAdmin 2.6.4-pl3 and it works.

     
  • Carlos Pérez

    Carlos Pérez - 2005-11-09

    Logged In: YES
    user_id=1204910

    In response to:
    Comment By: Marc Delisle (lem9)
    Date: 2005-11-09 13:29

    I already ha ve a solution.

    I go back to PhpMyAdmin 2.6.3-pl1 and the problem does not
    arise.
    Also I did download the lates PhpMyAdmin CVS tried it and
    this problem does not occur with my current installation so,
    whenever I have a problem I go back from versions, run it
    and back to this version until the new PhoMyAdmin version is
    released.

    What I wanted to point out is that there is somekind of
    problem which sould be solved.
    I suppouse that it is corrected in the new version so I'll
    wait for it.

    Furthermore, I allway try to use the originals not some
    bundle package like xampp which, after installation I will
    have to tune up to the way in which I'm already working (as
    of this moment) in 5 different computers, with no problems
    except this small error (in my opinion) which does not
    affect my response time atwork at all.
    It's very easy to call either version of PhpMyAdmin when the
    problem arises.

     
  • Marc Delisle

    Marc Delisle - 2005-11-09
    • priority: 5 --> 1
    • summary: Chance you have found bug in the SQL parser --> (in 2.7.0) Chance you have found bug in the SQL parser
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2005-11-09

    Logged In: YES
    user_id=210714

    Thanks for confirming that the code which will become 2.7.0
    fixes your problem.

     
  • Michal Čihař

    Michal Čihař - 2005-12-04
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed
     
<< < 1 2 (Page 2 of 2)
MongoDB Logo MongoDB