got "Expected EOF packet" with mysql 4.1

Bug #737026 reported by P01Z3N on 2011-03-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Connector/Python
New
Undecided
Unassigned

Bug Description

I got error with MySQL v4.1 in protocol.py line 100

Here:
if pktdata[4] == '\xfe' and len(pktdata) == 9: ...
else:
# here i wrote some debug
   print len(pktdata), map(ord, pktdata)

And what i saw inside pktdata: [1, 0, 0, 3, 254]

---
INFO
---
python -c "import mysql.connector as db; print db.__version__"
(0, 3, 2, 'devel', 292)

mysql> select version();
+----------------+
| version() |
+----------------+
| 4.1.25-pro-gpl |
+----------------+

uname -a
Linux honeypod 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:29 UTC 2011 i686 GNU/Linux

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers