File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 "copyright" : " Copyright © 2015, Erik Smith" ,
55 "authors" : [" Erik Smith" ],
66 "license" : " MIT" ,
7- "dependencies" : {
8- "dstddb:mysql" : " *" ,
9- "dstddb:odbc" : " *" ,
10- "dstddb:oracle" : " *" ,
11- "dstddb:postgres" : " *" ,
12- "dstddb:reference" : " *" ,
13- "dstddb:sqlite" : " *" ,
14- "dstddb:util" : " *" ,
15- "dstddb:vibe" : " *" ,
16- "dstddb:webscalesql" : " *" ,
17- },
18- "subPackages" : [
19- " ./mysql/" ,
20- " ./odbc/" ,
21- " ./oracle/" ,
22- " ./postgres/" ,
23- " ./reference/" ,
24- " ./sqlite/" ,
25- " ./util/" ,
26- " ./vibe/" ,
27- " ./webscalesql/"
28- ],
7+ "sourcePaths" : [" ." , " src" ],
298}
309
Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ auto createDatabase(T)(string defaultURI="") {
4646
4747private static bool isError ()(int ret) {
4848 return
49- ret != 0 &&
50- ret != MYSQL_NO_DATA &&
51- ret != MYSQL_DATA_TRUNCATED ;
49+ ! ( ret == 0 ||
50+ ret == MYSQL_NO_DATA ||
51+ ret == MYSQL_DATA_TRUNCATED ) ;
5252}
5353
5454private static T* check (T)(string msg, T* ptr) {
You can’t perform that action at this time.
0 commit comments