Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-172

None is not converted to NULL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not a Bug
    • Affects Version/s: None
    • Fix Version/s: N/A
    • Component/s: Generic
    • Labels:
      None

      Description

      This is working:

      cur.execute("insert into test (foo) values (%s)", [None])

      But this not

      cur.execute("select * from test where foo is %s", [None])

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            joschyzg Jonny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration