sqlanywhere 0.1.3-i386-mswin32 → 0.1.4-i386-mswin32

Sign up to get free protection for your applications and to get access to all the features.
data/test/test.sql CHANGED
@@ -1,87 +1,87 @@
1
- IF EXISTS( SELECT * FROM "SYS"."SYSTAB" WHERE "table_name" = 'test') THEN
2
- DROP TABLE "test";
3
- END IF;
4
-
5
- IF EXISTS( SELECT * FROM "SYS"."SYSTAB" WHERE "table_name" = 'types') THEN
6
- DROP TABLE "types";
7
- END IF;
8
-
9
- CREATE TABLE "test" (
10
- "id" INTEGER NOT NULL DEFAULT AUTOINCREMENT,
11
- PRIMARY KEY("id")
12
- );
13
-
14
- CREATE TABLE "types" (
15
- "id" INTEGER PRIMARY KEY,
16
- "_binary_" BINARY(8) DEFAULT NULL,
17
- "_numeric_" NUMERIC(2,1),
18
- "_decimal_" DECIMAL(2,1),
19
- "_bounded_string_" CHAR(255) DEFAULT NULL,
20
- "_unbounded_string_" LONG VARCHAR DEFAULT NULL,
21
- "_signed_bigint_" BIGINT DEFAULT NULL,
22
- "_unsigned_bigint_" UNSIGNED BIGINT DEFAULT NULL,
23
- "_signed_int_" INTEGER DEFAULT NULL,
24
- "_unsigned_int_" UNSIGNED INTEGER DEFAULT NULL,
25
- "_signed_smallint_" SMALLINT DEFAULT NULL,
26
- "_unsigned_smallint_" UNSIGNED SMALLINT DEFAULT NULL,
27
- "_signed_tinyint_" TINYINT DEFAULT NULL,
28
- "_unsigned_tinyint_" UNSIGNED TINYINT DEFAULT NULL,
29
- "_bit_" BIT,
30
- "_date_" DATE DEFAULT NULL,
31
- "_datetime_" DATETIME DEFAULT NULL,
32
- "_smalldatetime_" SMALLDATETIME DEFAULT NULL,
33
- "_timestamp_" TIMESTAMP DEFAULT NULL,
34
- "_double_" DOUBLE DEFAULT NULL,
35
- "_float_" FLOAT DEFAULT NULL,
36
- "_real_" REAL DEFAULT NULL
37
- );
38
-
39
- INSERT INTO types VALUES
40
- ( 0,
41
- CAST ( 0x78 AS BINARY ),
42
- 1.1,
43
- 1.1,
44
- 'Bounded String Test',
45
- 'Unbounded String Test',
46
- 9223372036854775807,
47
- 18446744073709551615,
48
- 2147483647,
49
- 4294967295,
50
- 32767,
51
- 65535,
52
- 255,
53
- 255,
54
- 1,
55
- DATE( '1999-01-02 21:20:53' ),
56
- DATETIME( '1999-01-02 21:20:53' ),
57
- DATETIME( '1999-01-02 21:20:53' ),
58
- DATETIME( '1999-01-02 21:20:53' ),
59
- 1.79769313486231e+308,
60
- 3.402823e+38,
61
- 3.402823e+38
62
- )
63
-
64
- INSERT INTO types VALUES
65
- ( 1,
66
- CAST ( 0xFF AS BINARY ),
67
- -1.1,
68
- -1.1,
69
- '',
70
- '',
71
- -9223372036854775808,
72
- 0,
73
- -2147483648,
74
- 0,
75
- -32768,
76
- 0,
77
- 0,
78
- 0,
79
- 0,
80
- NULL,
81
- NULL,
82
- NULL,
83
- NULL,
84
- -1.79769313486231e+308,
85
- -3.402823e+38,
86
- -3.402823e+38
87
- )
1
+ IF EXISTS( SELECT * FROM "SYS"."SYSTAB" WHERE "table_name" = 'test') THEN
2
+ DROP TABLE "test";
3
+ END IF;
4
+
5
+ IF EXISTS( SELECT * FROM "SYS"."SYSTAB" WHERE "table_name" = 'types') THEN
6
+ DROP TABLE "types";
7
+ END IF;
8
+
9
+ CREATE TABLE "test" (
10
+ "id" INTEGER NOT NULL DEFAULT AUTOINCREMENT,
11
+ PRIMARY KEY("id")
12
+ );
13
+
14
+ CREATE TABLE "types" (
15
+ "id" INTEGER PRIMARY KEY,
16
+ "_binary_" BINARY(8) DEFAULT NULL,
17
+ "_numeric_" NUMERIC(2,1),
18
+ "_decimal_" DECIMAL(2,1),
19
+ "_bounded_string_" CHAR(255) DEFAULT NULL,
20
+ "_unbounded_string_" LONG VARCHAR DEFAULT NULL,
21
+ "_signed_bigint_" BIGINT DEFAULT NULL,
22
+ "_unsigned_bigint_" UNSIGNED BIGINT DEFAULT NULL,
23
+ "_signed_int_" INTEGER DEFAULT NULL,
24
+ "_unsigned_int_" UNSIGNED INTEGER DEFAULT NULL,
25
+ "_signed_smallint_" SMALLINT DEFAULT NULL,
26
+ "_unsigned_smallint_" UNSIGNED SMALLINT DEFAULT NULL,
27
+ "_signed_tinyint_" TINYINT DEFAULT NULL,
28
+ "_unsigned_tinyint_" UNSIGNED TINYINT DEFAULT NULL,
29
+ "_bit_" BIT,
30
+ "_date_" DATE DEFAULT NULL,
31
+ "_datetime_" DATETIME DEFAULT NULL,
32
+ "_smalldatetime_" SMALLDATETIME DEFAULT NULL,
33
+ "_timestamp_" TIMESTAMP DEFAULT NULL,
34
+ "_double_" DOUBLE DEFAULT NULL,
35
+ "_float_" FLOAT DEFAULT NULL,
36
+ "_real_" REAL DEFAULT NULL
37
+ );
38
+
39
+ INSERT INTO types VALUES
40
+ ( 0,
41
+ CAST ( 0x78 AS BINARY ),
42
+ 1.1,
43
+ 1.1,
44
+ 'Bounded String Test',
45
+ 'Unbounded String Test',
46
+ 9223372036854775807,
47
+ 18446744073709551615,
48
+ 2147483647,
49
+ 4294967295,
50
+ 32767,
51
+ 65535,
52
+ 255,
53
+ 255,
54
+ 1,
55
+ DATE( '1999-01-02 21:20:53' ),
56
+ DATETIME( '1999-01-02 21:20:53' ),
57
+ DATETIME( '1999-01-02 21:20:53' ),
58
+ DATETIME( '1999-01-02 21:20:53' ),
59
+ 1.79769313486231e+308,
60
+ 3.402823e+38,
61
+ 3.402823e+38
62
+ )
63
+
64
+ INSERT INTO types VALUES
65
+ ( 1,
66
+ CAST ( 0xFF AS BINARY ),
67
+ -1.1,
68
+ -1.1,
69
+ '',
70
+ '',
71
+ -9223372036854775808,
72
+ 0,
73
+ -2147483648,
74
+ 0,
75
+ -32768,
76
+ 0,
77
+ 0,
78
+ 0,
79
+ 0,
80
+ NULL,
81
+ NULL,
82
+ NULL,
83
+ NULL,
84
+ -1.79769313486231e+308,
85
+ -3.402823e+38,
86
+ -3.402823e+38
87
+ )
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: sqlanywhere
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.3
7
- date: 2008-12-31 00:00:00 -05:00
6
+ version: 0.1.4
7
+ date: 2009-03-25 00:00:00 -04:00
8
8
  summary: SQL Anywhere library for Ruby
9
9
  require_paths:
10
10
  - lib
@@ -65,8 +65,8 @@ extra_rdoc_files:
65
65
  - ext/sqlanywhere.c
66
66
  executables: []
67
67
 
68
- extensions:
69
- - ext/extconf.rb
68
+ extensions: []
69
+
70
70
  requirements: []
71
71
 
72
72
  dependencies: []