Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Test whitespace style adjustments. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
c49c15f6544b1961e6bf3647014c29c0 |
User & Date: | mistachkin 2012-02-13 23:39:58.793 |
Context
2012-02-14
| ||
22:12 | Issue warnings on the trace listners if a column type or type name cannot be mapped properly. See ticket [4bbf851fa5]. check-in: 10fae679b2 user: mistachkin tags: trunk | |
2012-02-13
| ||
23:39 | Test whitespace style adjustments. check-in: c49c15f654 user: mistachkin tags: trunk | |
23:38 | Add test for the transaction disposal exception handling behavior. check-in: b21d16dad9 user: mistachkin tags: trunk | |
Changes
Changes to Tests/tkt-201128cc88.eagle.
︙ | ︙ | |||
32 33 34 35 36 37 38 | using System.Data.SQLite; namespace _Dynamic${id} { \[SQLiteFunction(Name = "Base64", FuncType = FunctionType.Scalar)\] public class Test${id} : SQLiteFunction { | | > > | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | using System.Data.SQLite; namespace _Dynamic${id} { \[SQLiteFunction(Name = "Base64", FuncType = FunctionType.Scalar)\] public class Test${id} : SQLiteFunction { public override object Invoke( object\[\] args ) { if (args == null) return null; if (args.Length != 1) return new ArgumentException(String.Format( "need exactly one argument, got {0}", args.Length)); |
︙ | ︙ | |||
57 58 59 60 61 62 63 64 65 66 67 68 69 70 | if (type != typeof(byte\[\])) return new ArgumentException(String.Format( "argument must be byte array, got {0}", type)); return Convert.ToBase64String((byte\[\]) arg); } public static void Main() { SQLiteFunction.RegisterFunction(typeof(Test${id})); } } } | > > | 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | if (type != typeof(byte\[\])) return new ArgumentException(String.Format( "argument must be byte array, got {0}", type)); return Convert.ToBase64String((byte\[\]) arg); } /////////////////////////////////////////////////////////////////////// public static void Main() { SQLiteFunction.RegisterFunction(typeof(Test${id})); } } } |
︙ | ︙ |
Changes to Tests/tkt-e1b2e0f769.eagle.
︙ | ︙ | |||
47 48 49 50 51 52 53 | { public class Test${id} { public static List<long?> Tkt_e1b2e0f769(SQLiteConnection connection) { List<long?> result = new List<long?>(); | | > | 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | { public class Test${id} { public static List<long?> Tkt_e1b2e0f769(SQLiteConnection connection) { List<long?> result = new List<long?>(); using (SQLiteTransaction transaction = connection.BeginTransaction()) { using (SQLiteCommand command = connection.CreateCommand()) { command.CommandText = "${sql}"; using (SQLiteDataReader dataReader = command.ExecuteReader()) { |
︙ | ︙ |