Giter Site home page Giter Site logo

Comments (4)

petehunt avatar petehunt commented on August 18, 2024

Updated by [email protected] on 2010-12-02T23:36:31

Original ticket set status to Started (we converted to open)

from pymysql.

petehunt avatar petehunt commented on August 18, 2024

Updated by [email protected] on 2010-12-03T07:27:53

The problem is that the packet number is completely ignored in PyMySQL:
http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol#The_Packet_Header

Payloads larger than 16Mb should be split in at most 16Mb packets and sent sequentially incrementing the packet number.

We found the problem while working on the SSL patch, but at the times fixing this was out of our scope.

from pymysql.

petehunt avatar petehunt commented on August 18, 2024

Updated by [email protected] on 2010-12-03T10:44:12

Here's a patch fixing the issue.

Please note that for the test to pass you probably need to tweak max_allowed_packet in your my.cnf (defaults to 16Mb)

from pymysql.

petehunt avatar petehunt commented on August 18, 2024

Updated by [email protected] on 2010-12-08T05:57:14

Thanks Evax. Rolled your patch into r43. Also tweaked the unit test to instead < 1 mb.

Pete

Original ticket set status to Fixed (we converted to closed)

from pymysql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.