tiny_tds 3.1.0-x64-mingw32 → 3.2.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +187 -74
- data/CHANGELOG.md +8 -0
- data/Gemfile +1 -1
- data/README.md +59 -50
- data/Rakefile +46 -37
- data/VERSION +1 -1
- data/ext/tiny_tds/extconf.rb +169 -70
- data/ext/tiny_tds/extconsts.rb +3 -4
- data/lib/tiny_tds/2.7/tiny_tds.so +0 -0
- data/lib/tiny_tds/3.0/tiny_tds.so +0 -0
- data/lib/tiny_tds/bin.rb +12 -26
- data/lib/tiny_tds/client.rb +38 -42
- data/lib/tiny_tds/error.rb +0 -2
- data/lib/tiny_tds/gem.rb +5 -9
- data/lib/tiny_tds/result.rb +0 -2
- data/lib/tiny_tds/version.rb +1 -1
- data/lib/tiny_tds.rb +28 -47
- data/ports/x64-mingw32/{freetds/1.4.23/bin → bin}/defncopy.exe +0 -0
- data/ports/x64-mingw32/bin/libsybdb-5.dll +0 -0
- data/ports/x64-mingw32/bin/tsql.exe +0 -0
- data/tasks/native_gem.rake +11 -18
- data/tasks/package.rake +1 -3
- data/tasks/ports.rake +7 -91
- data/tasks/test.rake +3 -5
- data/test/bin/install-freetds.sh +2 -4
- data/test/bin/restore-from-native-gem.ps1 +10 -0
- data/test/client_test.rb +106 -112
- data/test/gem_test.rb +31 -107
- data/test/result_test.rb +208 -221
- data/test/schema_test.rb +177 -181
- data/test/test_helper.rb +58 -63
- data/test/thread_test.rb +22 -31
- data/tiny_tds.gemspec +28 -29
- metadata +25 -41
- data/ports/x64-mingw32/freetds/1.4.23/bin/bsqldb.exe +0 -0
- data/ports/x64-mingw32/freetds/1.4.23/bin/datacopy.exe +0 -0
- data/ports/x64-mingw32/freetds/1.4.23/bin/freebcp.exe +0 -0
- data/ports/x64-mingw32/freetds/1.4.23/bin/libct-4.dll +0 -0
- data/ports/x64-mingw32/freetds/1.4.23/bin/libsybdb-5.dll +0 -0
- data/ports/x64-mingw32/freetds/1.4.23/bin/osql +0 -393
- data/ports/x64-mingw32/freetds/1.4.23/bin/tdspool.exe +0 -0
- data/ports/x64-mingw32/freetds/1.4.23/bin/tsql.exe +0 -0
- data/ports/x64-mingw32/freetds/1.4.23/lib/libct.dll.a +0 -0
- data/ports/x64-mingw32/freetds/1.4.23/lib/libct.la +0 -41
- data/ports/x64-mingw32/freetds/1.4.23/lib/libsybdb.dll.a +0 -0
- data/ports/x64-mingw32/freetds/1.4.23/lib/libsybdb.la +0 -41
- data/ports/x64-mingw32/libiconv/1.17/bin/iconv.exe +0 -0
- data/ports/x64-mingw32/libiconv/1.17/bin/libcharset-1.dll +0 -0
- data/ports/x64-mingw32/libiconv/1.17/bin/libiconv-2.dll +0 -0
- data/ports/x64-mingw32/libiconv/1.17/lib/libcharset.dll.a +0 -0
- data/ports/x64-mingw32/libiconv/1.17/lib/libcharset.la +0 -41
- data/ports/x64-mingw32/libiconv/1.17/lib/libiconv.dll.a +0 -0
- data/ports/x64-mingw32/libiconv/1.17/lib/libiconv.la +0 -41
- data/ports/x64-mingw32/openssl/3.4.0/bin/c_rehash +0 -252
- data/ports/x64-mingw32/openssl/3.4.0/bin/libcrypto-3-x64.dll +0 -0
- data/ports/x64-mingw32/openssl/3.4.0/bin/libssl-3-x64.dll +0 -0
- data/ports/x64-mingw32/openssl/3.4.0/bin/openssl.exe +0 -0
- data/tasks/ports/freetds.rb +0 -32
- data/tasks/ports/libiconv.rb +0 -26
- data/tasks/ports/openssl.rb +0 -62
- data/tasks/ports/recipe.rb +0 -64
- data/test/benchmark/query.rb +0 -77
- data/test/benchmark/query_odbc.rb +0 -106
- data/test/benchmark/query_tinytds.rb +0 -126
@@ -1,393 +0,0 @@
|
|
1
|
-
#! /bin/sh
|
2
|
-
# $Id: osql,v 1.12 2011-05-11 03:08:13 jklowden Exp $
|
3
|
-
#
|
4
|
-
# Check odbc.ini, odbcinst, and, optionally, freetds.conf,
|
5
|
-
# then execute isql (assume it's unixODBC's isql).
|
6
|
-
#
|
7
|
-
|
8
|
-
USAGE="Syntax: $(basename "$0") -S server -U user -P password"
|
9
|
-
|
10
|
-
while getopts I:S:U:P: OPTION
|
11
|
-
do
|
12
|
-
case ${OPTION} in
|
13
|
-
I) OVER_DIR=${OPTARG} # override
|
14
|
-
;;
|
15
|
-
S) DSN=${OPTARG}
|
16
|
-
;;
|
17
|
-
U) USERNAME=${OPTARG}
|
18
|
-
;;
|
19
|
-
P) PASSWORD=${OPTARG}
|
20
|
-
;;
|
21
|
-
\?) echo "$USAGE"
|
22
|
-
exit 1
|
23
|
-
;;
|
24
|
-
esac
|
25
|
-
done
|
26
|
-
|
27
|
-
#cho ${DSN} ${USERNAME} ${PASSWORD}
|
28
|
-
if [ -z "${DSN}" ] || [ -z "${USERNAME}" ] || [ -z "${PASSWORD}" ]
|
29
|
-
then
|
30
|
-
echo "$USAGE"
|
31
|
-
exit 1
|
32
|
-
fi
|
33
|
-
|
34
|
-
ISQL=$(command -v isql)
|
35
|
-
if [ -z "${ISQL}" ]
|
36
|
-
then
|
37
|
-
echo "$(basename "$0"): error: no \"isql\" command found. Is unixODBC installed?"
|
38
|
-
exit 1
|
39
|
-
fi
|
40
|
-
|
41
|
-
# Establish ODBC prefix directory
|
42
|
-
|
43
|
-
ISQL_DIR=$(strings "${ISQL}" | grep ^/ | grep -v elf | grep -v '\.so\.' | head -1 | sed 's/lib$/etc/' )
|
44
|
-
|
45
|
-
INI_DIRNAME="/tmp/$(basename "$0").$$"
|
46
|
-
exec 3> "${INI_DIRNAME}"
|
47
|
-
|
48
|
-
# Check the libraries, too.
|
49
|
-
if [ -z "${OVER_DIR}" ]
|
50
|
-
then
|
51
|
-
libcmd='ldd "${ISQL}" | awk "/libodbc\./ {print \$3}"'
|
52
|
-
if ! command -V ldd >/dev/null 2>&1 && command -V otool >/dev/null 2>&1
|
53
|
-
then
|
54
|
-
libcmd='otool -L "${ISQL}" | awk "/libodbc\./ {print \$1}"'
|
55
|
-
fi
|
56
|
-
echo "checking shared odbc libraries linked to isql for default directories..."
|
57
|
-
(echo ${ISQL_DIR}; eval "$libcmd") \
|
58
|
-
| while read L
|
59
|
-
do
|
60
|
-
strings "$L" | grep '^/' | grep -v '/lib' \
|
61
|
-
| while read D
|
62
|
-
do
|
63
|
-
if [ ! -s "${INI_DIRNAME}" ]
|
64
|
-
then
|
65
|
-
printf " trying %s ... " "$D"
|
66
|
-
if [ -d "$D" ] && [ -r "${D}/odbc.ini" ]
|
67
|
-
then
|
68
|
-
echo "$D" >&3
|
69
|
-
printf "OK"
|
70
|
-
else
|
71
|
-
printf "no"
|
72
|
-
fi
|
73
|
-
printf "\n"
|
74
|
-
fi
|
75
|
-
done
|
76
|
-
done
|
77
|
-
fi
|
78
|
-
exec 3>&-
|
79
|
-
|
80
|
-
ODBC_DIR=$(cat "${INI_DIRNAME}") && rm "${INI_DIRNAME}"
|
81
|
-
|
82
|
-
if [ -z "${ODBC_DIR}" ] && [ -z "${OVER_DIR}" ]
|
83
|
-
then
|
84
|
-
echo "$(basename "$0"): problem: no potential directory strings in \"$(command -v isql)\""
|
85
|
-
echo "$(basename "$0"): advice: use \"osql -I DIR\" where DIR unixODBC\'s install prefix e.g. /usr/local"
|
86
|
-
echo "isql strings are:"
|
87
|
-
strings "${ISQL}" | grep ^/ | sed 's/^/+ /'
|
88
|
-
#xit 1
|
89
|
-
fi
|
90
|
-
|
91
|
-
if [ "${OVER_DIR}" ]
|
92
|
-
then
|
93
|
-
if [ -d "${ODBC_DIR}" ]
|
94
|
-
then
|
95
|
-
echo "\"${ODBC_DIR}\" is a directory, overridden by"
|
96
|
-
else
|
97
|
-
echo "\"${ODBC_DIR}\" is NOT a directory, overridden by"
|
98
|
-
fi
|
99
|
-
echo "\"${OVER_DIR}\"."
|
100
|
-
|
101
|
-
if [ -d "${OVER_DIR}" ]
|
102
|
-
then
|
103
|
-
ODBC_DIR=${OVER_DIR}
|
104
|
-
else
|
105
|
-
echo "$(basename "$0"): error: \"${OVER_DIR}\" is not a directory"
|
106
|
-
exit 1
|
107
|
-
fi
|
108
|
-
fi
|
109
|
-
|
110
|
-
# Look for server entry in odbc.ini
|
111
|
-
echo 'checking odbc.ini files'
|
112
|
-
for F in "${HOME}/.odbc.ini" "${ODBC_DIR}/odbc.ini"
|
113
|
-
do
|
114
|
-
if [ ! -d "$(dirname "$F")" ]
|
115
|
-
then
|
116
|
-
echo "warning: $(dirname "$F") is not a directory"
|
117
|
-
continue
|
118
|
-
fi
|
119
|
-
|
120
|
-
if [ -r "$F" ]
|
121
|
-
then
|
122
|
-
echo " reading $F"
|
123
|
-
else
|
124
|
-
echo " cannot read \"$F\""
|
125
|
-
continue
|
126
|
-
fi
|
127
|
-
|
128
|
-
grep -F "[${DSN}]" "$F" > /dev/null
|
129
|
-
|
130
|
-
if [ $? -eq 0 ]
|
131
|
-
then
|
132
|
-
echo "[${DSN}] found in $F"
|
133
|
-
ODBC_INI=$F
|
134
|
-
break
|
135
|
-
else
|
136
|
-
echo "[${DSN}] not found in $F"
|
137
|
-
fi
|
138
|
-
done
|
139
|
-
|
140
|
-
if [ -z "${ODBC_INI}" ]
|
141
|
-
then
|
142
|
-
echo "$(basename "$0"): error: unable to locate ${DSN} in any odbc.ini"
|
143
|
-
exit 1
|
144
|
-
fi
|
145
|
-
|
146
|
-
# Report finding of server entry
|
147
|
-
echo found this section:
|
148
|
-
SED_CMD="/^\[${DSN}\]/,/^[[:space:]]*$/ { s/^/ /; p; }"
|
149
|
-
sed -ne "${SED_CMD}" "${ODBC_INI}"
|
150
|
-
|
151
|
-
#
|
152
|
-
# Examine server entry in odbc.ini
|
153
|
-
#
|
154
|
-
|
155
|
-
# Find the driver in the servername or default section
|
156
|
-
for D in "${DSN}" 'default'
|
157
|
-
do
|
158
|
-
echo "looking for driver for DSN [$D] in ${ODBC_INI}"
|
159
|
-
grep "$D" "${ODBC_INI}" > /dev/null
|
160
|
-
if [ $? -eq 0 ]
|
161
|
-
then
|
162
|
-
CMD="/^\[$D\]/,/^[[:space:]]*$/ { s/^/ /; p; }"
|
163
|
-
DRIVER_LINE=$(sed -ne "${CMD}" "${ODBC_INI}" \
|
164
|
-
| grep -Ei '^[[:space:]]*driver[[:space:]]*=')
|
165
|
-
if [ -z "${DRIVER_LINE}" ]
|
166
|
-
then
|
167
|
-
echo " no driver mentioned for [$D] in $(basename "${ODBC_INI}")"
|
168
|
-
continue
|
169
|
-
fi
|
170
|
-
|
171
|
-
echo " found driver line: \"${DRIVER_LINE}\""
|
172
|
-
DRIVER=$(echo "${DRIVER_LINE}" \
|
173
|
-
| awk -F ' *= *' '{print $2}' \
|
174
|
-
| sed 's/[[:space:]][[:space:]]*//g')
|
175
|
-
if [ "${DRIVER}" ]
|
176
|
-
then
|
177
|
-
echo " driver \"${DRIVER}\" found for [$D] in $(basename "${ODBC_INI}")"
|
178
|
-
break
|
179
|
-
else
|
180
|
-
echo " driver line for [$D] incomplete in $(basename "${ODBC_INI}")"
|
181
|
-
continue
|
182
|
-
fi
|
183
|
-
fi
|
184
|
-
done
|
185
|
-
|
186
|
-
if [ -z "${DRIVER}" ]
|
187
|
-
then
|
188
|
-
echo "$(basename "$0"): error: no driver found for [${DSN}] in $(basename "${ODBC_INI}")"
|
189
|
-
exit 1
|
190
|
-
fi
|
191
|
-
|
192
|
-
# get filename of driver
|
193
|
-
echo "found driver named \"${DRIVER}\""
|
194
|
-
if [ -d "${DRIVER}" ] || [ ! -x "${DRIVER}" ]
|
195
|
-
then
|
196
|
-
# not a filename, look it up
|
197
|
-
DRIVERNAME=${DRIVER}
|
198
|
-
ODBC_INST="${ODBC_DIR}/odbcinst.ini"
|
199
|
-
echo "\"${DRIVERNAME}\" is not an executable file"
|
200
|
-
echo "looking for entry named [${DRIVERNAME}] in ${ODBC_INST}"
|
201
|
-
|
202
|
-
grep "${DRIVERNAME}" "${ODBC_INST}" > /dev/null
|
203
|
-
if [ $? -ne 0 ]
|
204
|
-
then
|
205
|
-
if [ $? -eq 1 ]
|
206
|
-
then
|
207
|
-
echo "$(basename "$0"): error: no driver entry [${DRIVERNAME}] in ${ODBC_INST}"
|
208
|
-
fi
|
209
|
-
exit 1;
|
210
|
-
fi
|
211
|
-
|
212
|
-
CMD="/^\[${DRIVERNAME}\]/,/^[[:space:]]*$/ { s/^/ /; p; }"
|
213
|
-
DRIVER_LINE=$(sed -ne "${CMD}" "${ODBC_INST}" \
|
214
|
-
| grep -Ei '^[[:space:]]*driver[[:space:]]*=')
|
215
|
-
if [ -z "${DRIVER_LINE}" ]
|
216
|
-
then
|
217
|
-
echo "$(basename "$0"): no driver mentioned for [${DRIVERNAME}] in $(basename "${ODBC_INST}")"
|
218
|
-
exit 1
|
219
|
-
fi
|
220
|
-
|
221
|
-
echo " found driver line: \"${DRIVER_LINE}\""
|
222
|
-
DRIVER=$(echo "${DRIVER_LINE}" | awk -F ' *= *' '{print $2}')
|
223
|
-
if [ -z "${DRIVER}" ]
|
224
|
-
then
|
225
|
-
echo "$(basename "$0"): driver line incomplete for [${DRIVERNAME}] in $(basename "${ODBC_INST}")"
|
226
|
-
exit 1
|
227
|
-
fi
|
228
|
-
|
229
|
-
echo " found driver ${DRIVER} for [${DRIVERNAME}] in $(basename "${ODBC_INST}")"
|
230
|
-
fi
|
231
|
-
|
232
|
-
if [ -z "${DRIVER}" ]
|
233
|
-
then
|
234
|
-
echo "$(basename "$0"): error: sorry, failed sanity check: \${DRIVER} is null"
|
235
|
-
exit 1
|
236
|
-
fi
|
237
|
-
|
238
|
-
if [ -x "${DRIVER}" ]
|
239
|
-
then
|
240
|
-
echo "${DRIVER} is an executable file"
|
241
|
-
else
|
242
|
-
echo "${DRIVER} is not an executable file"
|
243
|
-
echo "$(basename "$0"): error: no driver found for ${DSN}"
|
244
|
-
exit 1
|
245
|
-
fi
|
246
|
-
|
247
|
-
# find the server/servername
|
248
|
-
SERVER_LINE=$(sed -ne "${SED_CMD}" "${ODBC_INI}" \
|
249
|
-
| grep -Ei '^[[:space:]]*server(name)*[[:space:]]*=')
|
250
|
-
|
251
|
-
ATTRIBUTE=$(echo "${SERVER_LINE}" | awk -F' *= *' '{print $1}')
|
252
|
-
|
253
|
-
if [ -z "${ATTRIBUTE}" ]
|
254
|
-
then
|
255
|
-
echo "$(basename "$0"): neither \"Server\" nor \"Servername\" found for [${DSN}] in $(basename "${ODBC_INI}")"
|
256
|
-
exit 1
|
257
|
-
fi
|
258
|
-
|
259
|
-
echo "${SERVER_LINE}" | grep -i servername >/dev/null
|
260
|
-
|
261
|
-
#
|
262
|
-
# Find the server's hostname
|
263
|
-
#
|
264
|
-
if [ $? -eq 0 ] # ODBC-Combined
|
265
|
-
then
|
266
|
-
TDS_SERVER=$(echo "${SERVER_LINE}" | awk -F ' *= *' '{print $2}')
|
267
|
-
echo 'Using ODBC-Combined strategy'
|
268
|
-
echo "DSN [${DSN}] has servername \"${TDS_SERVER}\" (from ${ODBC_INI})"
|
269
|
-
if [ -z "${TDS_SERVER}" ]
|
270
|
-
then
|
271
|
-
exit 1
|
272
|
-
fi
|
273
|
-
|
274
|
-
# Look for $TDS_SERVER in freetds.conf
|
275
|
-
|
276
|
-
FREETDS_DIR=$(tsql -C | grep 'freetds.conf directory' | awk -F: '{print $2}' | sed 's/^ *//')
|
277
|
-
if [ -z "${FREETDS_DIR}" ]
|
278
|
-
then
|
279
|
-
echo "$(basename "$0"): error: unable to locate directory for freetds.conf using \"$(command -v tsql)\""
|
280
|
-
exit 1
|
281
|
-
fi
|
282
|
-
|
283
|
-
for F in "${HOME}/.freetds.conf" "${FREETDS_DIR}/freetds.conf"
|
284
|
-
do
|
285
|
-
if [ -r "$F" ]
|
286
|
-
then
|
287
|
-
echo "$F is a readable file"
|
288
|
-
else
|
289
|
-
echo "cannot read \"$F\""
|
290
|
-
continue
|
291
|
-
fi
|
292
|
-
|
293
|
-
echo "looking for [${TDS_SERVER}] in $F"
|
294
|
-
grep -F "[${TDS_SERVER}]" "$F" > /dev/null
|
295
|
-
|
296
|
-
if [ $? -eq 0 ]
|
297
|
-
then
|
298
|
-
FREETDS_CONF=$F
|
299
|
-
break
|
300
|
-
else
|
301
|
-
echo "[${TDS_SERVER}] not found in $F"
|
302
|
-
fi
|
303
|
-
done
|
304
|
-
|
305
|
-
if [ -z "${FREETDS_CONF}" ]
|
306
|
-
then
|
307
|
-
echo "$(basename "$0"): error: unable to locate ${TDS_SERVER} in any freetds.conf"
|
308
|
-
exit 1
|
309
|
-
fi
|
310
|
-
|
311
|
-
# Examine server entry in freetds.conf
|
312
|
-
|
313
|
-
echo found this section:
|
314
|
-
SED_CMD="/^\[${TDS_SERVER}\]/,/^[[:space:]]*$/ { s/^/ /; p; }"
|
315
|
-
sed -ne "${SED_CMD}" "${FREETDS_CONF}"
|
316
|
-
|
317
|
-
SERVER_LINE=$(sed -ne "${SED_CMD}" "${FREETDS_CONF}" \
|
318
|
-
| grep -Ei '^[[:space:]]*host[[:space:]]*=')
|
319
|
-
|
320
|
-
# No character class support in mawk,
|
321
|
-
# cf. "Mawk does not support Posix character classes in expressions"
|
322
|
-
# https://bugs.launchpad.net/ubuntu/+source/mawk/+bug/69724
|
323
|
-
HOST=$(echo "${SERVER_LINE}" | awk -F' *= *' '{print $2}')
|
324
|
-
|
325
|
-
if [ -z "${HOST}" ]
|
326
|
-
then
|
327
|
-
echo "$(basename "$0"): no \"host\" entry found for [${TDS_SERVER}] in $(basename "${FREETDS_CONF}")"
|
328
|
-
exit 1
|
329
|
-
fi
|
330
|
-
|
331
|
-
else # odbc.ini contains a "server", a DNS host
|
332
|
-
HOST=$(echo "${SERVER_LINE}" | awk -F ' *= *' '{print $2}')
|
333
|
-
echo "\"${ATTRIBUTE}\" found, not using freetds.conf"
|
334
|
-
echo "${ATTRIBUTE} is \"${HOST}\""
|
335
|
-
if [ -z "${HOST}" ]
|
336
|
-
then
|
337
|
-
echo "$(basename "$0"): no value found for \"${ATTRIBUTE}\" entry in $(basename "${ODBC_INI}")"
|
338
|
-
exit 1
|
339
|
-
fi
|
340
|
-
fi
|
341
|
-
|
342
|
-
# If the "host" is an ip address, look up the name, for neatness, e.g.
|
343
|
-
## $ host 10.81.36.39
|
344
|
-
## 39.36.81.10.IN-ADDR.ARPA domain name pointer ntc5003.eg.com
|
345
|
-
if [ "${HOST}" = "$(echo "${HOST}" | sed 's/[^.0-9]*//')" ]
|
346
|
-
then
|
347
|
-
ADDRESS=${HOST}
|
348
|
-
echo "looking up hostname for ip address ${ADDRESS}"
|
349
|
-
HOST=$(host "${HOST}" | awk '/domain/ {print $5}' | sed 's/\.$//')
|
350
|
-
if [ -z "${HOST}" ]
|
351
|
-
then
|
352
|
-
echo "$(basename "$0"): warning: no DNS hostname found for \"${ADDRESS}\""
|
353
|
-
HOST=${ADDRESS} # restore host address string
|
354
|
-
fi
|
355
|
-
fi
|
356
|
-
|
357
|
-
# Now we have a DNS hostname for the server in HOST
|
358
|
-
if [ "${HOST}" != "${ADDRESS}" ]
|
359
|
-
then
|
360
|
-
ADDRESS=$(host "${HOST}" | awk '/has address/ {print $4}' | head -1)
|
361
|
-
fi
|
362
|
-
if [ -z "${ADDRESS}" ]
|
363
|
-
then
|
364
|
-
echo "$(basename "$0"): no IP address found for \"${HOST}\""
|
365
|
-
exit 1
|
366
|
-
fi
|
367
|
-
|
368
|
-
#cho ${HOST} has address ${ADDRESS}
|
369
|
-
|
370
|
-
# Report what we know and exec isql
|
371
|
-
|
372
|
-
printf "\n"
|
373
|
-
printf "Configuration looks OK. Connection details:\n\n"
|
374
|
-
printf "%22s:\t%-30s\n" DSN "${DSN}"
|
375
|
-
printf "%22s:\t%-30s\n" odbc.ini "${ODBC_INI}"
|
376
|
-
printf "%22s:\t%-30s\n" Driver "${DRIVER}"
|
377
|
-
printf "%22s:\t%-30s\n" "Server hostname" "${HOST}"
|
378
|
-
printf "%22s:\t%-30s\n" Address "${ADDRESS}"
|
379
|
-
printf "\n"
|
380
|
-
|
381
|
-
echo "Attempting connection as ${USERNAME} ..."
|
382
|
-
|
383
|
-
if [ -z "${TDSDUMP}" ]
|
384
|
-
then
|
385
|
-
TDSDUMP_AUTO="/tmp/$(basename "$0").dump.$$"
|
386
|
-
export TDSDUMP=${TDSDUMP_AUTO}
|
387
|
-
fi
|
388
|
-
|
389
|
-
( set -x; isql "${DSN}" "${USERNAME}" "${PASSWORD}" -v ) \
|
390
|
-
|| sed -ne 's/Connecting/FAILED &/p' "${TDSDUMP}"
|
391
|
-
|
392
|
-
test "${TDSDUMP_AUTO}" && rm -f "${TDSDUMP_AUTO}"
|
393
|
-
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,41 +0,0 @@
|
|
1
|
-
# libct.la - a libtool library file
|
2
|
-
# Generated by libtool (GNU libtool) 2.4.7
|
3
|
-
#
|
4
|
-
# Please DO NOT delete this file!
|
5
|
-
# It is necessary for linking the library.
|
6
|
-
|
7
|
-
# The name that we can dlopen(3).
|
8
|
-
dlname='../bin/libct-4.dll'
|
9
|
-
|
10
|
-
# Names of this library.
|
11
|
-
library_names='libct.dll.a'
|
12
|
-
|
13
|
-
# The name of the static archive.
|
14
|
-
old_library=''
|
15
|
-
|
16
|
-
# Linker flags that cannot go in dependency_libs.
|
17
|
-
inherited_linker_flags=''
|
18
|
-
|
19
|
-
# Libraries that this one depends upon.
|
20
|
-
dependency_libs=' -L/__w/tiny_tds/tiny_tds/ports/x64-mingw32/libiconv/1.17/lib -lws2_32 -lcrypt32 -L/__w/tiny_tds/tiny_tds/ports/x64-mingw32/openssl/3.4.0/lib64 -lssl -lcrypto /__w/tiny_tds/tiny_tds/ports/x64-mingw32/libiconv/1.17/lib/libiconv.la'
|
21
|
-
|
22
|
-
# Names of additional weak libraries provided by this library
|
23
|
-
weak_library_names=''
|
24
|
-
|
25
|
-
# Version information for libct.
|
26
|
-
current=4
|
27
|
-
age=0
|
28
|
-
revision=0
|
29
|
-
|
30
|
-
# Is this an already installed library?
|
31
|
-
installed=yes
|
32
|
-
|
33
|
-
# Should we warn about portability when linking against -modules?
|
34
|
-
shouldnotlink=no
|
35
|
-
|
36
|
-
# Files to dlopen/dlpreopen
|
37
|
-
dlopen=''
|
38
|
-
dlpreopen=''
|
39
|
-
|
40
|
-
# Directory that this library needs to be installed in:
|
41
|
-
libdir='/__w/tiny_tds/tiny_tds/ports/x64-mingw32/freetds/1.4.23/lib'
|
Binary file
|
@@ -1,41 +0,0 @@
|
|
1
|
-
# libsybdb.la - a libtool library file
|
2
|
-
# Generated by libtool (GNU libtool) 2.4.7
|
3
|
-
#
|
4
|
-
# Please DO NOT delete this file!
|
5
|
-
# It is necessary for linking the library.
|
6
|
-
|
7
|
-
# The name that we can dlopen(3).
|
8
|
-
dlname='../bin/libsybdb-5.dll'
|
9
|
-
|
10
|
-
# Names of this library.
|
11
|
-
library_names='libsybdb.dll.a'
|
12
|
-
|
13
|
-
# The name of the static archive.
|
14
|
-
old_library=''
|
15
|
-
|
16
|
-
# Linker flags that cannot go in dependency_libs.
|
17
|
-
inherited_linker_flags=''
|
18
|
-
|
19
|
-
# Libraries that this one depends upon.
|
20
|
-
dependency_libs=' -L/__w/tiny_tds/tiny_tds/ports/x64-mingw32/libiconv/1.17/lib -lws2_32 -lcrypt32 -L/__w/tiny_tds/tiny_tds/ports/x64-mingw32/openssl/3.4.0/lib64 -lssl -lcrypto /__w/tiny_tds/tiny_tds/ports/x64-mingw32/libiconv/1.17/lib/libiconv.la'
|
21
|
-
|
22
|
-
# Names of additional weak libraries provided by this library
|
23
|
-
weak_library_names=''
|
24
|
-
|
25
|
-
# Version information for libsybdb.
|
26
|
-
current=6
|
27
|
-
age=1
|
28
|
-
revision=0
|
29
|
-
|
30
|
-
# Is this an already installed library?
|
31
|
-
installed=yes
|
32
|
-
|
33
|
-
# Should we warn about portability when linking against -modules?
|
34
|
-
shouldnotlink=no
|
35
|
-
|
36
|
-
# Files to dlopen/dlpreopen
|
37
|
-
dlopen=''
|
38
|
-
dlpreopen=''
|
39
|
-
|
40
|
-
# Directory that this library needs to be installed in:
|
41
|
-
libdir='/__w/tiny_tds/tiny_tds/ports/x64-mingw32/freetds/1.4.23/lib'
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,41 +0,0 @@
|
|
1
|
-
# libcharset.la - a libtool library file
|
2
|
-
# Generated by libtool (GNU libtool) 2.4.7
|
3
|
-
#
|
4
|
-
# Please DO NOT delete this file!
|
5
|
-
# It is necessary for linking the library.
|
6
|
-
|
7
|
-
# The name that we can dlopen(3).
|
8
|
-
dlname='../bin/libcharset-1.dll'
|
9
|
-
|
10
|
-
# Names of this library.
|
11
|
-
library_names='libcharset.dll.a'
|
12
|
-
|
13
|
-
# The name of the static archive.
|
14
|
-
old_library=''
|
15
|
-
|
16
|
-
# Linker flags that cannot go in dependency_libs.
|
17
|
-
inherited_linker_flags=''
|
18
|
-
|
19
|
-
# Libraries that this one depends upon.
|
20
|
-
dependency_libs=''
|
21
|
-
|
22
|
-
# Names of additional weak libraries provided by this library
|
23
|
-
weak_library_names=''
|
24
|
-
|
25
|
-
# Version information for libcharset.
|
26
|
-
current=1
|
27
|
-
age=0
|
28
|
-
revision=0
|
29
|
-
|
30
|
-
# Is this an already installed library?
|
31
|
-
installed=yes
|
32
|
-
|
33
|
-
# Should we warn about portability when linking against -modules?
|
34
|
-
shouldnotlink=no
|
35
|
-
|
36
|
-
# Files to dlopen/dlpreopen
|
37
|
-
dlopen=''
|
38
|
-
dlpreopen=''
|
39
|
-
|
40
|
-
# Directory that this library needs to be installed in:
|
41
|
-
libdir='/__w/tiny_tds/tiny_tds/ports/x64-mingw32/libiconv/1.17/lib'
|
Binary file
|
@@ -1,41 +0,0 @@
|
|
1
|
-
# libiconv.la - a libtool library file
|
2
|
-
# Generated by libtool (GNU libtool) 2.4.7
|
3
|
-
#
|
4
|
-
# Please DO NOT delete this file!
|
5
|
-
# It is necessary for linking the library.
|
6
|
-
|
7
|
-
# The name that we can dlopen(3).
|
8
|
-
dlname='../bin/libiconv-2.dll'
|
9
|
-
|
10
|
-
# Names of this library.
|
11
|
-
library_names='libiconv.dll.a'
|
12
|
-
|
13
|
-
# The name of the static archive.
|
14
|
-
old_library=''
|
15
|
-
|
16
|
-
# Linker flags that cannot go in dependency_libs.
|
17
|
-
inherited_linker_flags=''
|
18
|
-
|
19
|
-
# Libraries that this one depends upon.
|
20
|
-
dependency_libs=''
|
21
|
-
|
22
|
-
# Names of additional weak libraries provided by this library
|
23
|
-
weak_library_names=''
|
24
|
-
|
25
|
-
# Version information for libiconv.
|
26
|
-
current=8
|
27
|
-
age=6
|
28
|
-
revision=1
|
29
|
-
|
30
|
-
# Is this an already installed library?
|
31
|
-
installed=yes
|
32
|
-
|
33
|
-
# Should we warn about portability when linking against -modules?
|
34
|
-
shouldnotlink=no
|
35
|
-
|
36
|
-
# Files to dlopen/dlpreopen
|
37
|
-
dlopen=''
|
38
|
-
dlpreopen=''
|
39
|
-
|
40
|
-
# Directory that this library needs to be installed in:
|
41
|
-
libdir='/__w/tiny_tds/tiny_tds/ports/x64-mingw32/libiconv/1.17/lib'
|