System.Data.SQLite
Check-in [0ff60021ce]
Not logged in

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

Overview
Comment:Adjustments to ticket [5363fd4af6] test case.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | strictStatement
Files: files | file ages | folders
SHA1: 0ff60021ceb024a6812f91e3c971f0713098a30f
User & Date: mistachkin 2013-07-05 20:48:08
Context
2013-07-05
20:48
Adjustments to ticket [5363fd4af6] test case. Closed-Leaf check-in: 0ff60021ce user: mistachkin tags: strictStatement
18:57
Merge updates from trunk. check-in: adb53faf97 user: mistachkin tags: strictStatement
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Tests/tkt-5363fd4af6.eagle.

33
34
35
36
37
38
39

40
41
42
43
44
45
46
..
51
52
53
54
55
56
57

58

59
60
61


62
63
64
65
66
67
68
    INSERT INTO t1 (x) VALUES(3); \
    SELECT x FROM t1 ORDER BY x; \
  }

  unset -nocomplain results errors

  set code [compileCSharpWith [subst {

    using System.Data.SQLite;
    using Eagle._Containers.Public;

    namespace _Dynamic${id}
    {
      public static class Test${id}
      {
................................................................................
          using (SQLiteConnection connection = new SQLiteConnection(
              "Data Source=${dataSource};"))
          {
            connection.Open();

            SQLiteCommand command = new SQLiteCommand("${sql}", connection);
            SQLiteDataReader dataReader = command.ExecuteReader();

            command.Dispose();


            while (dataReader.Read())
              result.Add(dataReader\["x"\].ToString());


          }

          return result;
        }

        ///////////////////////////////////////////////////////////////////////








>







 







>

>



>
>







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
..
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
    INSERT INTO t1 (x) VALUES(3); \
    SELECT x FROM t1 ORDER BY x; \
  }

  unset -nocomplain results errors

  set code [compileCSharpWith [subst {
    using System;
    using System.Data.SQLite;
    using Eagle._Containers.Public;

    namespace _Dynamic${id}
    {
      public static class Test${id}
      {
................................................................................
          using (SQLiteConnection connection = new SQLiteConnection(
              "Data Source=${dataSource};"))
          {
            connection.Open();

            SQLiteCommand command = new SQLiteCommand("${sql}", connection);
            SQLiteDataReader dataReader = command.ExecuteReader();

            command.Dispose();
            GC.GetTotalMemory(true);

            while (dataReader.Read())
              result.Add(dataReader\["x"\].ToString());

            dataReader.Dispose();
          }

          return result;
        }

        ///////////////////////////////////////////////////////////////////////