Christopher Lee

Show:

What's happening?

  • pygr

    leec11 added marecki to the pygr project.

    2009-02-03 21:55:04 UTC in pygr

  • Comment: MySQLdb can't detect primary keys: MySQLdb.ROWID is empty

    Thanks for all the info! A few clarifications: - the concept of a primary key is not limited to SQL, so the need for identifying the primary key is not tied to SQL. - You said "primary key... is a flag or modifier on a column type". Exactly. So allocate a bit on the type value for representing whether the column is a primary key, and provide a module-level value or method for testing this...

    2008-04-03 01:38:26 UTC in MySQL for Python

  • Comment: MySQLdb can't detect primary keys: MySQLdb.ROWID is empty

    Hi Andy, thanks for the quick response! If I'm understanding right, you are saying that the platform-independent DB API 2.0 lacks the concept of a primary key, which is central to the definition of a database, and instead provides ROWID, a non-standard concept that you seem to indicate is some kind of platform-specific feature, maybe from PostgreSQL. Am I understanding you right? I'd be...

    2008-04-02 23:30:13 UTC in MySQL for Python

  • MySQLdb can't detect primary keys: MySQLdb.ROWID is empty

    This bug causes MySQLdb to fail to detect any primary key by the test prescribed by the DB API 2.0, namely to test cursor.description[icol][1]==MySQLdb.ROWID. On all the platforms I've checked so far (Mac OS X, linux), MySQLdb.ROWID appears to be empty, which explains why the test always fails! >>> import MySQLdb >>> MySQLdb.ROWID DBAPISet([]) By contrast, other datatypes have a defined set...

    2008-04-02 17:58:24 UTC in MySQL for Python

  • pygr

    leec11 committed patchset 10 of module pygr to the pygr CVS repository, changing 30 files.

    2007-06-13 03:55:38 UTC in pygr

  • pygr

    leec11 committed patchset 9 of module pygr to the pygr CVS repository, changing 25 files.

    2007-06-13 03:43:02 UTC in pygr

  • pygr

    leec11 committed patchset 8 of module pygr to the pygr CVS repository, changing 10 files.

    2007-06-13 03:38:32 UTC in pygr

  • pygr

    leec11 committed patchset 7 of module pygr to the pygr CVS repository, changing 42 files.

    2007-06-13 03:25:38 UTC in pygr

  • pygr

    leec11 committed patchset 6 of module pygr to the pygr CVS repository, changing 2 files.

    2007-06-13 02:52:05 UTC in pygr

  • pygr

    leec11 committed patchset 5 of module pygr to the pygr CVS repository, changing 33 files.

    2007-06-13 02:48:27 UTC in pygr

About Me

  • 2006-05-18 (3 years ago)
  • 1525006
  • leec11 (My Site)
  • Christopher Lee

Send me a message