Git Product home page Git Product logo

Comments (2)

metaskills avatar metaskills commented on May 17, 2024

This is done explicitly to help with some 32 bit systems and/or some platforms with a spice of which ruby version. It's really a hard one to nail down and we have followed mysql2's lead on this. Looking now, I see their handling is much better and uses a few nifty macros with some good documentation.

https://github.com/brianmario/mysql2/blob/master/ext/mysql2/result.c

I'd love to accept a patch or find some time to do better with this and again copy what @brianmario has done so well :)

from tiny_tds.

metaskills avatar metaskills commented on May 17, 2024

Issue #47 and its pull request should address this. I have asked @luislavena to take a look at see if this has any impact on Windows, which I doubt. But then again, I have no idea if the data type for seconds "uint64_t" is something that would throw off a 32-bit Windows system. Just raw ignorance on my part.

I refactored the code comments slightly for my personal taste and I also created a ruby32bit test helper based on your code. Lastly, I did confirm that this does work on my 64bit system in all the ruby versions I care about. I also tested the SQL Server adapter 3.1 using this master version of TinyTDS and found no problems. So far this is great and I really appreciate you doing a superb pull request!

from tiny_tds.

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.