ibm_db 5.0.2-x86-mingw32 → 5.0.3-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/Makefile +3 -3
- data/ext/ibm_db-i386-mingw32.def +2 -0
- data/ext/ibm_db.o +0 -0
- data/ext/ibm_db.so +0 -0
- data/ext/mkmf.log +5 -5
- data/ext/ruby_ibm_db_cli.o +0 -0
- data/lib/active_record/connection_adapters/ibm_db_adapter.rb +30 -2
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eecb20b80be6b7b38f7428f5a10a861b46d5361ee24240b6d52365b2fb4b25bf
|
4
|
+
data.tar.gz: c7b0c3557e98eb9809dac8187b8f1e9174e5160c2a6e63e69d8e447861dacc26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af7446be9acd250638397a380c04442f8472acd89c7050f1cac75736fdc283ab3ae231a7922a069f76a5be044d9845199b5c68f3f1fd9923920df2766486f2f7
|
7
|
+
data.tar.gz: 586ff0eaf80be53a5c1a201a735d900cb751c93117144ceb48436570e64fd2b10b4b0a50360922eec3d64781a9dab408b6cd281f6519b00dffb62fa88011bd08
|
data/ext/Makefile
CHANGED
@@ -86,7 +86,7 @@ CCDLFLAGS =
|
|
86
86
|
CFLAGS = $(CCDLFLAGS) -O3 -fno-fast-math $(ARCH_FLAG)
|
87
87
|
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
|
88
88
|
DEFS = -D_FILE_OFFSET_BITS=64
|
89
|
-
CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\" -IC
|
89
|
+
CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\" -IC:\clidriver\32-bit\clidriver/include -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT $(DEFS) $(cppflags)
|
90
90
|
CXXFLAGS = $(CCDLFLAGS) -march=i686 -mtune=generic -O2 -pipe $(ARCH_FLAG)
|
91
91
|
ldflags = -L. -pipe -s
|
92
92
|
dldflags = -pipe -s -Wl,--enable-auto-image-base,--enable-auto-import $(DEFFILE)
|
@@ -124,8 +124,8 @@ TOUCH = exit >
|
|
124
124
|
#### End of system configuration section. ####
|
125
125
|
|
126
126
|
preload =
|
127
|
-
libpath = . $(libdir) C
|
128
|
-
LIBPATH = -L. -L$(libdir) -LC
|
127
|
+
libpath = . $(libdir) C:\clidriver\32-bit\clidriver/lib
|
128
|
+
LIBPATH = -L. -L$(libdir) -LC:\clidriver\32-bit\clidriver/lib '-Wl,-R$$ORIGIN/clidriver/lib'
|
129
129
|
DEFFILE = $(TARGET)-$(arch).def
|
130
130
|
|
131
131
|
CLEANFILES = mkmf.log $(DEFFILE)
|
data/ext/ibm_db.o
ADDED
Binary file
|
data/ext/ibm_db.so
ADDED
Binary file
|
data/ext/mkmf.log
CHANGED
@@ -14,7 +14,7 @@ unicode_support_version is:
|
|
14
14
|
|
15
15
|
have_library: checking for SQLConnect() in -ldb2cli... -------------------- yes
|
16
16
|
|
17
|
-
"i686-w64-mingw32-gcc -o conftest.exe -IC:/Ruby26/include/ruby-2.6.0/i386-mingw32 -IC:/Ruby26/include/ruby-2.6.0/ruby/backward -IC:/Ruby26/include/ruby-2.6.0 -I. -IC
|
17
|
+
"i686-w64-mingw32-gcc -o conftest.exe -IC:/Ruby26/include/ruby-2.6.0/i386-mingw32 -IC:/Ruby26/include/ruby-2.6.0/ruby/backward -IC:/Ruby26/include/ruby-2.6.0 -I. -IC:\clidriver\32-bit\clidriver/include -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math conftest.c -L. -LC:/Ruby26/lib -LC:\clidriver\32-bit\clidriver/lib -L. -pipe -s -lmsvcrt-ruby260 -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
18
18
|
checked program was:
|
19
19
|
/* begin */
|
20
20
|
1: #include "ruby.h"
|
@@ -27,7 +27,7 @@ checked program was:
|
|
27
27
|
8: }
|
28
28
|
/* end */
|
29
29
|
|
30
|
-
"i686-w64-mingw32-gcc -o conftest.exe -IC:/Ruby26/include/ruby-2.6.0/i386-mingw32 -IC:/Ruby26/include/ruby-2.6.0/ruby/backward -IC:/Ruby26/include/ruby-2.6.0 -I. -IC
|
30
|
+
"i686-w64-mingw32-gcc -o conftest.exe -IC:/Ruby26/include/ruby-2.6.0/i386-mingw32 -IC:/Ruby26/include/ruby-2.6.0/ruby/backward -IC:/Ruby26/include/ruby-2.6.0 -I. -IC:\clidriver\32-bit\clidriver/include -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math conftest.c -L. -LC:/Ruby26/lib -LC:\clidriver\32-bit\clidriver/lib -L. -pipe -s -lmsvcrt-ruby260 -ldb2cli -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
31
31
|
conftest.c: In function 't':
|
32
32
|
conftest.c:17:57: error: 'SQLConnect' undeclared (first use in this function); did you mean 'WSAConnect'?
|
33
33
|
17 | int t(void) { void ((*volatile p)()); p = (void ((*)()))SQLConnect; return !p; }
|
@@ -55,7 +55,7 @@ checked program was:
|
|
55
55
|
17: int t(void) { void ((*volatile p)()); p = (void ((*)()))SQLConnect; return !p; }
|
56
56
|
/* end */
|
57
57
|
|
58
|
-
"i686-w64-mingw32-gcc -o conftest.exe -IC:/Ruby26/include/ruby-2.6.0/i386-mingw32 -IC:/Ruby26/include/ruby-2.6.0/ruby/backward -IC:/Ruby26/include/ruby-2.6.0 -I. -IC
|
58
|
+
"i686-w64-mingw32-gcc -o conftest.exe -IC:/Ruby26/include/ruby-2.6.0/i386-mingw32 -IC:/Ruby26/include/ruby-2.6.0/ruby/backward -IC:/Ruby26/include/ruby-2.6.0 -I. -IC:\clidriver\32-bit\clidriver/include -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math conftest.c -L. -LC:/Ruby26/lib -LC:\clidriver\32-bit\clidriver/lib -L. -pipe -s -lmsvcrt-ruby260 -ldb2cli -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
59
59
|
checked program was:
|
60
60
|
/* begin */
|
61
61
|
1: #include "ruby.h"
|
@@ -82,7 +82,7 @@ checked program was:
|
|
82
82
|
|
83
83
|
have_header: checking for gil_release_version... -------------------- yes
|
84
84
|
|
85
|
-
"i686-w64-mingw32-gcc -E -IC:/Ruby26/include/ruby-2.6.0/i386-mingw32 -IC:/Ruby26/include/ruby-2.6.0/ruby/backward -IC:/Ruby26/include/ruby-2.6.0 -I. -IC
|
85
|
+
"i686-w64-mingw32-gcc -E -IC:/Ruby26/include/ruby-2.6.0/i386-mingw32 -IC:/Ruby26/include/ruby-2.6.0/ruby/backward -IC:/Ruby26/include/ruby-2.6.0 -I. -IC:\clidriver\32-bit\clidriver/include -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math conftest.c -o conftest.i"
|
86
86
|
checked program was:
|
87
87
|
/* begin */
|
88
88
|
1: #include "ruby.h"
|
@@ -96,7 +96,7 @@ checked program was:
|
|
96
96
|
|
97
97
|
have_header: checking for unicode_support_version... -------------------- yes
|
98
98
|
|
99
|
-
"i686-w64-mingw32-gcc -E -IC:/Ruby26/include/ruby-2.6.0/i386-mingw32 -IC:/Ruby26/include/ruby-2.6.0/ruby/backward -IC:/Ruby26/include/ruby-2.6.0 -I. -IC
|
99
|
+
"i686-w64-mingw32-gcc -E -IC:/Ruby26/include/ruby-2.6.0/i386-mingw32 -IC:/Ruby26/include/ruby-2.6.0/ruby/backward -IC:/Ruby26/include/ruby-2.6.0 -I. -IC:\clidriver\32-bit\clidriver/include -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math conftest.c -o conftest.i"
|
100
100
|
checked program was:
|
101
101
|
/* begin */
|
102
102
|
1: #include "ruby.h"
|
Binary file
|
@@ -1739,8 +1739,8 @@ module ActiveRecord
|
|
1739
1739
|
:char => { :name => "char" },
|
1740
1740
|
:double => { :name => @servertype.get_double_mapping },
|
1741
1741
|
:decfloat => { :name => "decfloat"},
|
1742
|
-
:graphic => { :name => "graphic"
|
1743
|
-
:vargraphic => { :name => "vargraphic"
|
1742
|
+
:graphic => { :name => "graphic"},
|
1743
|
+
:vargraphic => { :name => "vargraphic"},
|
1744
1744
|
:bigint => { :name => "bigint"}
|
1745
1745
|
}
|
1746
1746
|
end
|
@@ -1841,6 +1841,34 @@ module ActiveRecord
|
|
1841
1841
|
return sql_segment
|
1842
1842
|
end
|
1843
1843
|
|
1844
|
+
if type.to_sym == :vargraphic
|
1845
|
+
sql_segment = native_database_types[type.to_sym][:name].to_s
|
1846
|
+
if limit.class == Hash
|
1847
|
+
if limit.has_key?("limit".to_sym)
|
1848
|
+
limit1 = limit[:limit]
|
1849
|
+
sql_segment << "(#{limit1})"
|
1850
|
+
else
|
1851
|
+
return "vargraphic(1)"
|
1852
|
+
end
|
1853
|
+
end
|
1854
|
+
return sql_segment
|
1855
|
+
end
|
1856
|
+
|
1857
|
+
if type.to_sym == :graphic
|
1858
|
+
sql_segment = native_database_types[type.to_sym][:name].to_s
|
1859
|
+
if limit.class == Hash
|
1860
|
+
if limit.has_key?("limit".to_sym)
|
1861
|
+
limit1 = limit[:limit]
|
1862
|
+
sql_segment << "(#{limit1})"
|
1863
|
+
else
|
1864
|
+
return "graphic(1)"
|
1865
|
+
end
|
1866
|
+
end
|
1867
|
+
return sql_segment
|
1868
|
+
end
|
1869
|
+
|
1870
|
+
|
1871
|
+
|
1844
1872
|
if limit.class == Hash
|
1845
1873
|
return super if limit.has_key?("limit".to_sym).nil?
|
1846
1874
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ibm_db
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.3
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- IBM
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -57,11 +57,15 @@ files:
|
|
57
57
|
- ext/Makefile.nt32.191
|
58
58
|
- ext/extconf.rb
|
59
59
|
- ext/gil_release_version
|
60
|
+
- ext/ibm_db-i386-mingw32.def
|
60
61
|
- ext/ibm_db.c
|
62
|
+
- ext/ibm_db.o
|
63
|
+
- ext/ibm_db.so
|
61
64
|
- ext/mkmf.log
|
62
65
|
- ext/ruby_ibm_db.h
|
63
66
|
- ext/ruby_ibm_db_cli.c
|
64
67
|
- ext/ruby_ibm_db_cli.h
|
68
|
+
- ext/ruby_ibm_db_cli.o
|
65
69
|
- ext/unicode_support_version
|
66
70
|
- init.rb
|
67
71
|
- lib/IBM_DB.rb
|
@@ -658,7 +662,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
658
662
|
version: '0'
|
659
663
|
requirements:
|
660
664
|
- ActiveRecord, at least 5.0.7
|
661
|
-
rubygems_version: 3.
|
665
|
+
rubygems_version: 3.0.3
|
662
666
|
signing_key:
|
663
667
|
specification_version: 4
|
664
668
|
summary: 'Rails Driver and Adapter for IBM Data Servers: {DB2 on Linux/Unix/Windows,
|