System.Data.SQLite

Check-in [ef6282a18c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix minor typo in previous commit.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ef6282a18cab392f0f79385e86cdec1c69c47cfb
User & Date: mistachkin 2013-05-09 21:54:40.616
Context
2013-05-09
23:02
Further modularization work on the .NET Compact Framework test app. check-in: 2f2b657781 user: mistachkin tags: trunk
21:54
Fix minor typo in previous commit. check-in: ef6282a18c user: mistachkin tags: trunk
21:51
Enhance the .NET Compact Framework test app to allow custom SQL to be executed prior to running the tests. check-in: ab52fdc3e8 user: mistachkin tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to testce/TestCases.cs.
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
          if (b[100] != 2) throw new ArgumentException();
          if (b[1000] != 3) throw new ArgumentException();
          if (b[2000] != 4) throw new ArgumentException();
          if (b[3000] != 5) throw new ArgumentException();

          using (DbConnection clone = (DbConnection)((ICloneable)cnn).Clone())
          {
            if (sql != null)
            {
              using (DbCommand command = clone.CreateCommand())
              {
                command.CommandText = sql;

                /* IGNORED */
                command.ExecuteNonQuery(); /* throw */







|







623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
          if (b[100] != 2) throw new ArgumentException();
          if (b[1000] != 3) throw new ArgumentException();
          if (b[2000] != 4) throw new ArgumentException();
          if (b[3000] != 5) throw new ArgumentException();

          using (DbConnection clone = (DbConnection)((ICloneable)cnn).Clone())
          {
            if (!String.IsNullOrEmpty(sql))
            {
              using (DbCommand command = clone.CreateCommand())
              {
                command.CommandText = sql;

                /* IGNORED */
                command.ExecuteNonQuery(); /* throw */