activerecord-odbc-adapter-openedge 2.3.3 → 2.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_record/connection_adapters/odbc_adapter.rb +12 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1ef29c5edbf744c8fd11824fa12b33e87aa59e8
|
4
|
+
data.tar.gz: f11fd5e3126b705b944bc20acadaf86b8c7a9693
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bb2c5db21fe732c5ffbf27b5f64cc0503b35ec517d4ceffeef7df22f0a7d88a520027408fa2a1ed3620a09d6d4d62e8e06ba8317ffb827c740afe2c39e04ef2
|
7
|
+
data.tar.gz: 777bb3f56623dee223d3e2fdfb9b0e47420ac00ccfe4eb46ad9ce63a71fc92ba8025e039605c6a2f9044e8e686fa9efa8787b7e343a42e8c2c2ac7cabcad316e
|
@@ -404,6 +404,16 @@ begin
|
|
404
404
|
:supports_count_distinct => true,
|
405
405
|
:boolean_col_surrogate => "SMALLINT"
|
406
406
|
}
|
407
|
+
},
|
408
|
+
:pervasive => {
|
409
|
+
:any_version => {
|
410
|
+
:primary_key => "INT NOT NULL IDENTITY PRIMARY KEY",
|
411
|
+
:has_autoincrement_col => true,
|
412
|
+
:supports_migrations => true,
|
413
|
+
:supports_schema_names => false,
|
414
|
+
:supports_count_distinct => true,
|
415
|
+
:boolean_col_surrogate => "SMALLINT"
|
416
|
+
}
|
407
417
|
}
|
408
418
|
}
|
409
419
|
|
@@ -1617,6 +1627,8 @@ begin
|
|
1617
1627
|
symbl = :postgresql
|
1618
1628
|
elsif dbmsName =~ /advantage/i or dbmsName == "a\x00d\x00v\x00a\x00n\x00t\x00a\x00g\x00e\x00"
|
1619
1629
|
symbl = :advantage
|
1630
|
+
elsif dbmsName == "p\x00e\x00r\x00v\x00a\x00s\x00i\x00v\x00e\x00.\x00s\x00q\x00l\x00"
|
1631
|
+
symbl = :pervasive
|
1620
1632
|
else
|
1621
1633
|
raise ActiveRecord::ActiveRecordError, "ODBCAdapter: Unsupported database (#{dbmsName})"
|
1622
1634
|
end
|