ibm_db 2.5.27-x86-mingw32 → 2.6.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +5 -0
  3. data/MANIFEST +14 -14
  4. data/README +225 -225
  5. data/ext/Makefile.nt32 +181 -181
  6. data/ext/Makefile.nt32.191 +212 -212
  7. data/ext/extconf.rb +264 -264
  8. data/ext/extconf_MacOS.rb +269 -0
  9. data/ext/ibm_db.c +1 -1
  10. data/ext/ruby_ibm_db.h +241 -241
  11. data/init.rb +41 -41
  12. data/lib/IBM_DB.rb +27 -3
  13. data/lib/active_record/connection_adapters/ibm_db_adapter.rb +3290 -3290
  14. data/lib/active_record/connection_adapters/ibmdb_adapter.rb +1 -1
  15. data/lib/active_record/vendor/db2-i5-zOS.yaml +328 -328
  16. data/lib/mswin32/ibm_db.rb +104 -20
  17. data/lib/mswin32/rb19x/ibm_db.so +0 -0
  18. data/lib/mswin32/rb21x/i386/ibm_db.so +0 -0
  19. data/lib/mswin32/rb22x/i386/ibm_db.so +0 -0
  20. data/lib/mswin32/rb2x/i386/ibm_db.so +0 -0
  21. data/test/cases/adapter_test.rb +207 -207
  22. data/test/cases/associations/belongs_to_associations_test.rb +711 -711
  23. data/test/cases/associations/cascaded_eager_loading_test.rb +181 -181
  24. data/test/cases/associations/has_and_belongs_to_many_associations_test.rb +851 -851
  25. data/test/cases/associations/join_model_test.rb +743 -743
  26. data/test/cases/attribute_methods_test.rb +822 -822
  27. data/test/cases/base_test.rb +2133 -2133
  28. data/test/cases/calculations_test.rb +482 -482
  29. data/test/cases/migration_test.rb +2408 -2408
  30. data/test/cases/persistence_test.rb +642 -642
  31. data/test/cases/query_cache_test.rb +257 -257
  32. data/test/cases/relations_test.rb +1182 -1182
  33. data/test/cases/schema_dumper_test.rb +256 -256
  34. data/test/cases/transaction_callbacks_test.rb +300 -300
  35. data/test/cases/validations/uniqueness_validation_test.rb +299 -299
  36. data/test/cases/xml_serialization_test.rb +408 -408
  37. data/test/config.yml +154 -154
  38. data/test/connections/native_ibm_db/connection.rb +43 -43
  39. data/test/ibm_db_test.rb +24 -24
  40. data/test/models/warehouse_thing.rb +4 -4
  41. data/test/schema/schema.rb +751 -751
  42. metadata +31 -16
@@ -1,2 +1,2 @@
1
- #rb file to support alising of adapter name as ibmdb [without underscore] that will require ibm_db_adapter.rb
1
+ #rb file to support alising of adapter name as ibmdb [without underscore] that will require ibm_db_adapter.rb
2
2
  require 'active_record/connection_adapters/ibm_db_adapter'
@@ -1,328 +1,328 @@
1
- add : ADD
2
- after : AFTER
3
- alias : ALIAS
4
- all : ALL
5
- allocate : ALLOCATE
6
- allow : ALLOW
7
- alter : ALTER
8
- and : AND
9
- any : ANY
10
- as : AS
11
- asensitive : ASENSITIVE
12
- associate : ASSOCIATE
13
- asutime : ASUTIME
14
- audit : AUDIT
15
- authorization : AUTHORIZATION
16
- aux : AUX
17
- auxiliary : AUXILIARY
18
- before : BEFORE
19
- begin : BEGIN
20
- between : BETWEEN
21
- binary : BINARY
22
- bufferpool : BUFFERPOOL
23
- by : BY
24
- cache : CACHE
25
- call : CALL
26
- called : CALLED
27
- cardinality : CARDINALITY
28
- capture : CAPTURE
29
- cascaded : CASCADED
30
- case : CASE
31
- cast : CAST
32
- ccsid : CCSID
33
- char : CHAR
34
- character : CHARACTER
35
- check : CHECK
36
- close : CLOSE
37
- cluster : CLUSTER
38
- collection : COLLECTION
39
- collid : COLLID
40
- column : COLUMN
41
- comment : COMMENT
42
- commit : COMMIT
43
- concat : CONCAT
44
- condition : CONDITION
45
- connect : CONNECT
46
- connection : CONNECTION
47
- constraint : CONSTRAINT
48
- contains : CONTAINS
49
- continue : CONTINUE
50
- count : COUNT
51
- count_big : COUNT_BIG
52
- create : CREATE
53
- cross : CROSS
54
- current : CURRENT
55
- current_date : CURRENT_DATE
56
- current_lc_ctype : CURRENT_LC_CTYPE
57
- current_path : CURRENT_PATH
58
- current_time : CURRENT_TIME
59
- current_timestamp : CURRENT_TIMESTAMP
60
- current_timezone : CURRENT_TIMEZONE
61
- current_user : CURRENT_USER
62
- cursor : CURSOR
63
- cycle : CYCLE
64
- data : DATA
65
- database : DATABASE
66
- day : DAY
67
- days : DAYS
68
- dbinfo : DBINFO
69
- db2genrl : DB2GENRL
70
- db2sql : DB2SQL
71
- declare : DECLARE
72
- default : DEFAULT
73
- defaults : DEFAULTS
74
- definition : DEFINITION
75
- delete : DELETE
76
- descriptor : DESCRIPTOR
77
- deterministic : DETERMINISTIC
78
- disallow : DISALLOW
79
- disconnect : DISCONNECT
80
- distinct : DISTINCT
81
- do : DO
82
- double : DOUBLE
83
- drop : DROP
84
- dssize : DSSIZE
85
- dynamic : DYNAMIC
86
- each : EACH
87
- editproc : EDITPROC
88
- else : ELSE
89
- elseif : ELSEIF
90
- encoding : ENCODING
91
- encryption : ENCRYPTION
92
- end : END
93
- ending : ENDING
94
- end-exec : END-EXEC
95
- erase : ERASE
96
- escape : ESCAPE
97
- except : EXCEPT
98
- excluding : EXCLUDING
99
- exception : EXCEPTION
100
- execute : EXECUTE
101
- exists : EXISTS
102
- exit : EXIT
103
- explain : EXPLAIN
104
- external : EXTERNAL
105
- fenced : FENCED
106
- fetch : FETCH
107
- fieldproc : FIELDPROC
108
- file : FILE
109
- final : FINAL
110
- for : FOR
111
- foreign : FOREIGN
112
- free : FREE
113
- from : FROM
114
- full : FULL
115
- function : FUNCTION
116
- general : GENERAL
117
- generated : GENERATED
118
- get : GET
119
- global : GLOBAL
120
- go : GO
121
- goto : GOTO
122
- grant : GRANT
123
- graphic : GRAPHIC
124
- group : GROUP
125
- handler : HANDLER
126
- having : HAVING
127
- hold : HOLD
128
- hour : HOUR
129
- hours : HOURS
130
- identity : IDENTITY
131
- if : IF
132
- immediate : IMMEDIATE
133
- in : IN
134
- including : INCLUDING
135
- inclusive : INCLUSIVE
136
- increment : INCREMENT
137
- index : INDEX
138
- indicator : INDICATOR
139
- inherit : INHERIT
140
- inner : INNER
141
- inout : INOUT
142
- insensitive : INSENSITIVE
143
- insert : INSERT
144
- integrity : INTEGRITY
145
- into : INTO
146
- is : IS
147
- isobid : ISOBID
148
- isolation : ISOLATION
149
- iterate : ITERATE
150
- jar : JAR
151
- java : JAVA
152
- join : JOIN
153
- key : KEY
154
- label : LABEL
155
- language : LANGUAGE
156
- lc_ctype : LC_CTYPE
157
- leave : LEAVE
158
- left : LEFT
159
- like : LIKE
160
- linktype : LINKTYPE
161
- local : LOCAL
162
- locale : LOCALE
163
- locator : LOCATOR
164
- locators : LOCATORS
165
- lock : LOCK
166
- lockmax : LOCKMAX
167
- locksize : LOCKSIZE
168
- long : LONG
169
- loop : LOOP
170
- maintained : MAINTAINED
171
- materialized : MATERIALIZED
172
- maxvalue : MAXVALUE
173
- microsecond : MICROSECOND
174
- microseconds : MICROSECONDS
175
- minute : MINUTE
176
- minutes : MINUTES
177
- minvalue : MINVALUE
178
- mode : MODE
179
- modifies : MODIFIES
180
- month : MONTH
181
- months : MONTHS
182
- new : NEW
183
- new_table : NEW_TABLE
184
- nextval : NEXTVAL
185
- no : NO
186
- nocache : NOCACHE
187
- nocycle : NOCYCLE
188
- nodename : NODENAME
189
- nodenumber : NODENUMBER
190
- nomaxvalue : NOMAXVALUE
191
- nominvalue : NOMINVALUE
192
- none : NONE
193
- noorder : NOORDER
194
- not : NOT
195
- null : NULL
196
- nulls : NULLS
197
- numparts : NUMPARTS
198
- obid : OBID
199
- of : OF
200
- old : OLD
201
- old_table : OLD_TABLE
202
- on : ON
203
- open : OPEN
204
- optimization : OPTIMIZATION
205
- optimize : OPTIMIZE
206
- option : OPTION
207
- or : OR
208
- order : ORDER
209
- out : OUT
210
- outer : OUTER
211
- overriding : OVERRIDING
212
- package : PACKAGE
213
- parameter : PARAMETER
214
- part : PART
215
- padded : PADDED
216
- partition : PARTITION
217
- partitioned : PARTITIONED
218
- partitioning : PARTITIONING
219
- path : PATH
220
- piecesize : PIECESIZE
221
- plan : PLAN
222
- position : POSITION
223
- precision : PRECISION
224
- prepare : PREPARE
225
- prevval : PREVVAL
226
- primary : PRIMARY
227
- priqty : PRIQTY
228
- privileges : PRIVILEGES
229
- procedure : PROCEDURE
230
- program : PROGRAM
231
- psid : PSID
232
- query : QUERY
233
- queryno : QUERYNO
234
- read : READ
235
- reads : READS
236
- recovery : RECOVERY
237
- references : REFERENCES
238
- referencing : REFERENCING
239
- refresh : REFRESH
240
- resignal : RESIGNAL
241
- release : RELEASE
242
- rename : RENAME
243
- repeat : REPEAT
244
- reset : RESET
245
- resignal : RESIGNAL
246
- restart : RESTART
247
- restrict : RESTRICT
248
- result : RESULT
249
- result_set_locator : RESULT_SET_LOCATOR
250
- return : RETURN
251
- returns : RETURNS
252
- revoke : REVOKE
253
- right : RIGHT
254
- rollback : ROLLBACK
255
- routine : ROUTINE
256
- row : ROW
257
- rows : ROWS
258
- rowset : ROWSET
259
- rrn : RRN
260
- run : RUN
261
- savepoint : SAVEPOINT
262
- schema : SCHEMA
263
- scratchpad : SCRATCHPAD
264
- second : SECOND
265
- seconds : SECONDS
266
- secqty : SECQTY
267
- security : SECURITY
268
- sequence : SEQUENCE
269
- select : SELECT
270
- sensitive : SENSITIVE
271
- set : SET
272
- signal : SIGNAL
273
- simple : SIMPLE
274
- some : SOME
275
- source : SOURCE
276
- specific : SPECIFIC
277
- sql : SQL
278
- sqlid : SQLID
279
- standard : STANDARD
280
- start : START
281
- static : STATIC
282
- stay : STAY
283
- stogroup : STOGROUP
284
- stores : STORES
285
- style : STYLE
286
- substring : SUBSTRING
287
- summary : SUMMARY
288
- synonym : SYNONYM
289
- sysfun : SYSFUN
290
- sysibm : SYSIBM
291
- sysproc : SYSPROC
292
- system : SYSTEM
293
- table : TABLE
294
- tablespace : TABLESPACE
295
- then : THEN
296
- to : TO
297
- transaction : TRANSACTION
298
- trigger : TRIGGER
299
- trim : TRIM
300
- type : TYPE
301
- undo : UNDO
302
- union : UNION
303
- unique : UNIQUE
304
- until : UNTIL
305
- update : UPDATE
306
- user : USER
307
- usage : USAGE
308
- user : USER
309
- using : USING
310
- validproc : VALIDPROC
311
- value : VALUE
312
- values : VALUES
313
- variable : VARIABLE
314
- variant : VARIANT
315
- vcat : VCAT
316
- view : VIEW
317
- volatile : VOLATILE
318
- volumes : VOLUMES
319
- when : WHEN
320
- whenever : WHENEVER
321
- where : WHERE
322
- while : WHILE
323
- with : WITH
324
- wlm : WLM
325
- write : WRITE
326
- xmlelement : XMLELEMENT
327
- year : YEAR
328
- years : YEARS
1
+ add : ADD
2
+ after : AFTER
3
+ alias : ALIAS
4
+ all : ALL
5
+ allocate : ALLOCATE
6
+ allow : ALLOW
7
+ alter : ALTER
8
+ and : AND
9
+ any : ANY
10
+ as : AS
11
+ asensitive : ASENSITIVE
12
+ associate : ASSOCIATE
13
+ asutime : ASUTIME
14
+ audit : AUDIT
15
+ authorization : AUTHORIZATION
16
+ aux : AUX
17
+ auxiliary : AUXILIARY
18
+ before : BEFORE
19
+ begin : BEGIN
20
+ between : BETWEEN
21
+ binary : BINARY
22
+ bufferpool : BUFFERPOOL
23
+ by : BY
24
+ cache : CACHE
25
+ call : CALL
26
+ called : CALLED
27
+ cardinality : CARDINALITY
28
+ capture : CAPTURE
29
+ cascaded : CASCADED
30
+ case : CASE
31
+ cast : CAST
32
+ ccsid : CCSID
33
+ char : CHAR
34
+ character : CHARACTER
35
+ check : CHECK
36
+ close : CLOSE
37
+ cluster : CLUSTER
38
+ collection : COLLECTION
39
+ collid : COLLID
40
+ column : COLUMN
41
+ comment : COMMENT
42
+ commit : COMMIT
43
+ concat : CONCAT
44
+ condition : CONDITION
45
+ connect : CONNECT
46
+ connection : CONNECTION
47
+ constraint : CONSTRAINT
48
+ contains : CONTAINS
49
+ continue : CONTINUE
50
+ count : COUNT
51
+ count_big : COUNT_BIG
52
+ create : CREATE
53
+ cross : CROSS
54
+ current : CURRENT
55
+ current_date : CURRENT_DATE
56
+ current_lc_ctype : CURRENT_LC_CTYPE
57
+ current_path : CURRENT_PATH
58
+ current_time : CURRENT_TIME
59
+ current_timestamp : CURRENT_TIMESTAMP
60
+ current_timezone : CURRENT_TIMEZONE
61
+ current_user : CURRENT_USER
62
+ cursor : CURSOR
63
+ cycle : CYCLE
64
+ data : DATA
65
+ database : DATABASE
66
+ day : DAY
67
+ days : DAYS
68
+ dbinfo : DBINFO
69
+ db2genrl : DB2GENRL
70
+ db2sql : DB2SQL
71
+ declare : DECLARE
72
+ default : DEFAULT
73
+ defaults : DEFAULTS
74
+ definition : DEFINITION
75
+ delete : DELETE
76
+ descriptor : DESCRIPTOR
77
+ deterministic : DETERMINISTIC
78
+ disallow : DISALLOW
79
+ disconnect : DISCONNECT
80
+ distinct : DISTINCT
81
+ do : DO
82
+ double : DOUBLE
83
+ drop : DROP
84
+ dssize : DSSIZE
85
+ dynamic : DYNAMIC
86
+ each : EACH
87
+ editproc : EDITPROC
88
+ else : ELSE
89
+ elseif : ELSEIF
90
+ encoding : ENCODING
91
+ encryption : ENCRYPTION
92
+ end : END
93
+ ending : ENDING
94
+ end-exec : END-EXEC
95
+ erase : ERASE
96
+ escape : ESCAPE
97
+ except : EXCEPT
98
+ excluding : EXCLUDING
99
+ exception : EXCEPTION
100
+ execute : EXECUTE
101
+ exists : EXISTS
102
+ exit : EXIT
103
+ explain : EXPLAIN
104
+ external : EXTERNAL
105
+ fenced : FENCED
106
+ fetch : FETCH
107
+ fieldproc : FIELDPROC
108
+ file : FILE
109
+ final : FINAL
110
+ for : FOR
111
+ foreign : FOREIGN
112
+ free : FREE
113
+ from : FROM
114
+ full : FULL
115
+ function : FUNCTION
116
+ general : GENERAL
117
+ generated : GENERATED
118
+ get : GET
119
+ global : GLOBAL
120
+ go : GO
121
+ goto : GOTO
122
+ grant : GRANT
123
+ graphic : GRAPHIC
124
+ group : GROUP
125
+ handler : HANDLER
126
+ having : HAVING
127
+ hold : HOLD
128
+ hour : HOUR
129
+ hours : HOURS
130
+ identity : IDENTITY
131
+ if : IF
132
+ immediate : IMMEDIATE
133
+ in : IN
134
+ including : INCLUDING
135
+ inclusive : INCLUSIVE
136
+ increment : INCREMENT
137
+ index : INDEX
138
+ indicator : INDICATOR
139
+ inherit : INHERIT
140
+ inner : INNER
141
+ inout : INOUT
142
+ insensitive : INSENSITIVE
143
+ insert : INSERT
144
+ integrity : INTEGRITY
145
+ into : INTO
146
+ is : IS
147
+ isobid : ISOBID
148
+ isolation : ISOLATION
149
+ iterate : ITERATE
150
+ jar : JAR
151
+ java : JAVA
152
+ join : JOIN
153
+ key : KEY
154
+ label : LABEL
155
+ language : LANGUAGE
156
+ lc_ctype : LC_CTYPE
157
+ leave : LEAVE
158
+ left : LEFT
159
+ like : LIKE
160
+ linktype : LINKTYPE
161
+ local : LOCAL
162
+ locale : LOCALE
163
+ locator : LOCATOR
164
+ locators : LOCATORS
165
+ lock : LOCK
166
+ lockmax : LOCKMAX
167
+ locksize : LOCKSIZE
168
+ long : LONG
169
+ loop : LOOP
170
+ maintained : MAINTAINED
171
+ materialized : MATERIALIZED
172
+ maxvalue : MAXVALUE
173
+ microsecond : MICROSECOND
174
+ microseconds : MICROSECONDS
175
+ minute : MINUTE
176
+ minutes : MINUTES
177
+ minvalue : MINVALUE
178
+ mode : MODE
179
+ modifies : MODIFIES
180
+ month : MONTH
181
+ months : MONTHS
182
+ new : NEW
183
+ new_table : NEW_TABLE
184
+ nextval : NEXTVAL
185
+ no : NO
186
+ nocache : NOCACHE
187
+ nocycle : NOCYCLE
188
+ nodename : NODENAME
189
+ nodenumber : NODENUMBER
190
+ nomaxvalue : NOMAXVALUE
191
+ nominvalue : NOMINVALUE
192
+ none : NONE
193
+ noorder : NOORDER
194
+ not : NOT
195
+ null : NULL
196
+ nulls : NULLS
197
+ numparts : NUMPARTS
198
+ obid : OBID
199
+ of : OF
200
+ old : OLD
201
+ old_table : OLD_TABLE
202
+ on : ON
203
+ open : OPEN
204
+ optimization : OPTIMIZATION
205
+ optimize : OPTIMIZE
206
+ option : OPTION
207
+ or : OR
208
+ order : ORDER
209
+ out : OUT
210
+ outer : OUTER
211
+ overriding : OVERRIDING
212
+ package : PACKAGE
213
+ parameter : PARAMETER
214
+ part : PART
215
+ padded : PADDED
216
+ partition : PARTITION
217
+ partitioned : PARTITIONED
218
+ partitioning : PARTITIONING
219
+ path : PATH
220
+ piecesize : PIECESIZE
221
+ plan : PLAN
222
+ position : POSITION
223
+ precision : PRECISION
224
+ prepare : PREPARE
225
+ prevval : PREVVAL
226
+ primary : PRIMARY
227
+ priqty : PRIQTY
228
+ privileges : PRIVILEGES
229
+ procedure : PROCEDURE
230
+ program : PROGRAM
231
+ psid : PSID
232
+ query : QUERY
233
+ queryno : QUERYNO
234
+ read : READ
235
+ reads : READS
236
+ recovery : RECOVERY
237
+ references : REFERENCES
238
+ referencing : REFERENCING
239
+ refresh : REFRESH
240
+ resignal : RESIGNAL
241
+ release : RELEASE
242
+ rename : RENAME
243
+ repeat : REPEAT
244
+ reset : RESET
245
+ resignal : RESIGNAL
246
+ restart : RESTART
247
+ restrict : RESTRICT
248
+ result : RESULT
249
+ result_set_locator : RESULT_SET_LOCATOR
250
+ return : RETURN
251
+ returns : RETURNS
252
+ revoke : REVOKE
253
+ right : RIGHT
254
+ rollback : ROLLBACK
255
+ routine : ROUTINE
256
+ row : ROW
257
+ rows : ROWS
258
+ rowset : ROWSET
259
+ rrn : RRN
260
+ run : RUN
261
+ savepoint : SAVEPOINT
262
+ schema : SCHEMA
263
+ scratchpad : SCRATCHPAD
264
+ second : SECOND
265
+ seconds : SECONDS
266
+ secqty : SECQTY
267
+ security : SECURITY
268
+ sequence : SEQUENCE
269
+ select : SELECT
270
+ sensitive : SENSITIVE
271
+ set : SET
272
+ signal : SIGNAL
273
+ simple : SIMPLE
274
+ some : SOME
275
+ source : SOURCE
276
+ specific : SPECIFIC
277
+ sql : SQL
278
+ sqlid : SQLID
279
+ standard : STANDARD
280
+ start : START
281
+ static : STATIC
282
+ stay : STAY
283
+ stogroup : STOGROUP
284
+ stores : STORES
285
+ style : STYLE
286
+ substring : SUBSTRING
287
+ summary : SUMMARY
288
+ synonym : SYNONYM
289
+ sysfun : SYSFUN
290
+ sysibm : SYSIBM
291
+ sysproc : SYSPROC
292
+ system : SYSTEM
293
+ table : TABLE
294
+ tablespace : TABLESPACE
295
+ then : THEN
296
+ to : TO
297
+ transaction : TRANSACTION
298
+ trigger : TRIGGER
299
+ trim : TRIM
300
+ type : TYPE
301
+ undo : UNDO
302
+ union : UNION
303
+ unique : UNIQUE
304
+ until : UNTIL
305
+ update : UPDATE
306
+ user : USER
307
+ usage : USAGE
308
+ user : USER
309
+ using : USING
310
+ validproc : VALIDPROC
311
+ value : VALUE
312
+ values : VALUES
313
+ variable : VARIABLE
314
+ variant : VARIANT
315
+ vcat : VCAT
316
+ view : VIEW
317
+ volatile : VOLATILE
318
+ volumes : VOLUMES
319
+ when : WHEN
320
+ whenever : WHENEVER
321
+ where : WHERE
322
+ while : WHILE
323
+ with : WITH
324
+ wlm : WLM
325
+ write : WRITE
326
+ xmlelement : XMLELEMENT
327
+ year : YEAR
328
+ years : YEARS