Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-3355

iPad: SQL insert error happens only in iOS 4.3

    Details

      Description

      {html}<div><p>This is an odd error that sprung up today testing with iOS 4.3
      with an iPad. The exact same SQL statement works in iOS 4.2 - using
      the same Ti SDK for both. Snippet from customer:</p>
      <pre>
      <code class=
      "javascript">Database.Queries.Create.Log = "CREATE TABLE IF NOT EXISTS MDE_SYS_LOG (LOG_DATE TEXT NOT NULL, LOG_TEXT TEXT)";

      // ...
      Database.Connection = Ti.Database.open('mmxdb');

      // ...

      Database.Connection.execute(Database.Queries.Create.Log);</code>
      </pre>
      <p>The app doesn't crash but throws this error: <a href=
      "http://pastie.org/1678411">http://pastie.org/1678411</a></p>
      <p>I would say that in this particular issue it's not a show
      stopper since they are using this statement for logging in a local
      database. However if this one sql statement that works in iOS 4.2
      works but does not in iOS 4.3, I worry that this could cause other
      issues down the road. We've had no other errors around SQL
      statements so far today in testing.</p></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              ingo Ingo Muschenetz
              Reporter:
              rblalock Rick Blalock (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-2883
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration