mSQL 2.0 and Python 1.4 
Author Message
 mSQL 2.0 and Python 1.4

-----BEGIN PGP SIGNED MESSAGE-----

I was wondering if anyone was working on getting the mSQL module to
work with mSQL 2.0 (recently released in beta) and python 1.4. I've
gotten things to compile and some simple tests to run, but I'm sure
that some of the other changes in the mSQL API may cause problems.
I've included my patch below. It seems to work without problem with
mSQL 2.0b2, Python 1.4, IRIX 5.3, and gcc 2.7.2.1, but I haven't done
any extensive testing.

So unless someone else pipe up shortly, I'm going to go to work making
sure that there aren't any hidden problems since I need mSQL for a
project that I'm working on here.

===================================================================
RCS file: RCS/mSQLmodule.c,v
retrieving revision 1.1
diff -c -r1.1 mSQLmodule.c
*** mSQLmodule.c        1997/01/06 19:36:25     1.1
- --- mSQLmodule.c        1997/01/06 19:38:52
***************
*** 31,36 ****
- --- 31,38 ----

  ******************************************************

+ Modified by Jeffrey C. Ollie January 1997 to work with mSQL 2.0
+
  Modified by David Gibson December 1995

  - listdbs and listtables now return a list of strings
***************
*** 327,334 ****
- --- 329,341 ----
              case REAL_TYPE: type="real"; break;
              default: type="????"; break;
          }
+ #ifdef IS_UNIQUE
+       if (IS_UNIQUE(tf->flags))
+           strcpy(flags, "unique");
+ #else
          if (IS_PRI_KEY(tf->flags))
              strcpy(flags,"pri");
+ #endif
          else
              flags[0]=0;
          if (IS_NOT_NULL(tf->flags))

[A copy of the headers and the PGP signature follow.]

Date: Mon, 06 Jan 1997 14:29:36 -0600

Subject: mSQL 2.0 and Python 1.4

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: AnySign 1.4 - A Python tool for PGP signing e-mail and news.

iQCVAwUBMtFgtpwkOQz8sbZFAQEafQP+IMiofVZcrYZ+vUDX/l6rigtuj2p+q6gZ
6MkpdXVcEQyTzgwy+/wAR6DQg5SjejLaCUULUhW0jYuKIA4ECDeY0mEpiLmTB07e
qnuOD2zhHKA1UetgBx19pR9KM+7MWd6pcsdkF9w/yfbKQf852+7mk3ZWsyAWavOt
MAw2AzFnSJc=
=l0SU
-----END PGP SIGNATURE-----
--
Jeffrey C. Ollie                     |            Should Work Now (TM)
Python Hacker, Mac Lover             |



Fri, 25 Jun 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Running Python 1.4 on Linux 2.0

2. Python mSQL Module v2.1 for mSQL 2.0 (and hopefully mSQL 1.X too!)

3. Python, MySQL, and MySQLmodule.c 1.4 - Python Version.

4. Version problem -- Python 1.4 V Python 1.5.1

5. Python 1.4 does, Python 1.5 doesn't...

6. AIX python.exp and misc on Python 1.4 beta 2

7. How to make Activepython 2.0 work with TclPro 1.4

8. Sun Fortran 1.4 vs. Sun Fortran 2.0

9. mSQL 2.0 module?

10. msqltcl for msql 2.0

11. tcl and msql 2.0 ???

12. Coroutines :: Beyond 'Python 1.4 and beyond'

 

 
Powered by phpBB® Forum Software