v-kaywon
ed4e8649af
close connection in pdo_warnings.phpt
2017-04-04 17:30:17 -07:00
v-kaywon
7901d72f03
add test for warnings at connection and statement levels
2017-04-04 17:13:17 -07:00
v-kaywon
8b233b9096
fix expected position of double semicolon to use regex due to different length of server name
2017-04-04 15:43:19 -07:00
v-kaywon
4b8d8411a7
add test for different formatted dsn string in pdo construct
2017-04-04 15:28:33 -07:00
David Puglielli
f330830eef
Connection resiliency changes ( #356 )
...
* Connection resiliency changes
* Changed connres test to check appveyor protocol
* Changed connres test to check appveyor protocol
* Changed connres test to check appveyor protocol
* Reverted test because appveyor still won't use the correct protocol
* Removed unnecessary connres #defines from msodbcsql.h
2017-04-04 13:40:30 -07:00
v-kaywon
65c79ef344
added test for pdo construct without server specified
2017-04-04 12:35:08 -07:00
v-kaywon
4ff9aae585
test for direction execution of an invalid query
2017-04-04 11:42:53 -07:00
Jenny Tam
52e05992bd
Merge pull request #344 from v-kaywon/error_numcol
...
workaround for unixODBC bug returning error when getting numcol
2017-04-04 11:40:15 -07:00
v-kaywon
a2740bb95a
added test for setting invalid connection attributes
2017-04-04 09:44:27 -07:00
v-kaywon
fe0f48151b
added test for setting invalid encoding attributes
2017-04-03 17:17:32 -07:00
v-kaywon
a2f16cb575
add test for getting invalid connection attributes
2017-04-03 17:00:23 -07:00
v-kaywon
95e5fdd055
added tests for prepare options and invalid option
2017-04-03 15:42:41 -07:00
v-kaywon
2c9a4b67d8
added tests for invalid connection option and invalid transaction isolation value
2017-04-03 14:42:53 -07:00
v-kaywon
6dbc588bc7
add test for invalid connection option
2017-04-03 14:01:30 -07:00
v-kaywon
3fc7d81205
fixed pdo_construct_Transaction.phpt
2017-04-03 13:31:09 -07:00
Jenny Tam
749f150be8
Merge pull request #351 from ulvii/sqlsrvConnPoolTest
...
Adding a script to test sqlsrv connection pooling on Linux and Mac
2017-04-03 13:06:02 -07:00
ulvii
70ad77f9ce
Update PDO_ConnPool_Unix.phpt
2017-04-03 10:53:33 -07:00
ulvii
b144cf97b6
Update sqlsrv_ConnPool_Unix.phpt
2017-04-03 10:52:43 -07:00
ulvii
00aff96418
Update isPooled.php
2017-04-03 10:48:59 -07:00
v-kaywon
ca855dc857
added test for lastinsertid
2017-04-03 10:02:26 -07:00
v-kaywon
6a9b910811
fixed pdo_get_set_attr.phpt reges expected output
2017-04-03 09:30:41 -07:00
ulvii
800a0eb6b2
Update sqlsrv_ConnPool_Unix.phpt
...
Move description to --DESCRIPTION-- section
2017-03-31 17:41:38 -07:00
v-kaywon
ff2b9106b1
added test for get and set connection attribute
2017-03-31 17:36:26 -07:00
David Puglielli
55d0461bf6
Merge pull request #343 from ulvii/ColCache
...
Column meta cache
2017-03-31 17:35:24 -07:00
Jenny Tam
c48bf1695b
SQLSRV katmai special types ( #355 )
2017-03-31 17:33:47 -07:00
v-kaywon
c8188e41b0
added pdo commit and rolled back tests
2017-03-31 17:09:40 -07:00
v-kaywon
523b7e5ccc
more tests
2017-03-31 16:49:40 -07:00
v-kaywon
e58e61b7fc
changed transactionIsolation test
2017-03-31 15:28:54 -07:00
v-kaywon
15948a7b4b
increase coverage for pdo connection options
2017-03-31 15:17:12 -07:00
v-kaywon
9d033e716a
added more to test
2017-03-31 13:59:30 -07:00
ulvii
14c8cc83c8
Adding a script to test sqlsrv connection pooling on Linux and Mac
2017-03-30 17:45:27 -07:00
v-kaywon
94d2f2539c
run again
2017-03-30 13:17:50 -07:00
yitam
bcd52fafa8
tests for Katmai types
2017-03-30 11:59:39 -07:00
ulvii
a7cd638b87
Update sqlsrv_statement_cancel.phpt
2017-03-30 11:16:16 -07:00
ulvii
80cc2f8675
Update sqlsrv_statement_cancel.phpt
...
On Linux, the message returned by unixODBC does not have a space after [ODBC Driver Manager]
2017-03-30 10:18:15 -07:00
v-kaywon
a5f999ef0b
cleaner code
2017-03-29 13:48:11 -07:00
v-kaywon
816856cbc0
cleaner code
2017-03-29 13:45:57 -07:00
v-kaywon
7230e307a7
Update sqlsrv_statement_cancel.phpt
2017-03-28 11:41:35 -07:00
v-kaywon
3f0d3b65f6
Meranges
...
e branch 'error_numcol' of https://github.com/v-kaywon/msphpsql into error_numcol
get change
:wq
2017-03-28 11:00:50 -07:00
v-kaywon
4284457b35
fix sqlsrv_statement_cancel.phpt test
2017-03-28 10:59:04 -07:00
v-kaywon
2788965d57
Update pdo_336_pho_exec_empty_result_set_error.phpt
2017-03-28 09:38:15 -07:00
ulvii
234b123fd7
Update sqlsrv_statement_cancel.phpt
2017-03-27 18:42:58 -07:00
ulvii
7c3206ae78
Fixing regex
2017-03-27 18:11:10 -07:00
v-kaywon
7256685a4c
workaround for unixODBC bug returning error when pdo::exec query with empty result set
2017-03-27 17:49:01 -07:00
ulvii
6809f0f7ea
Workaround for a bug in unixODBC 2.3.4 ( #334 )
...
* Adding a workaround for the error handling issue with unixODBC 2.3.4 when conneciton pooling is enabled
* Adding a check to apply the workaround only to PDO SQLSRV
* Update core_util.cpp
* Unix Conn Pool test
* Modifying the test to use autonomous_setup.php
* Updating path to isPooled.php
2017-03-27 14:07:43 -07:00
v-kaywon
c1a1a06061
fix crash from getting the numrow of a null buffered result set; add test
2017-03-20 15:58:57 -07:00
Hadis Kakanejadi Fard
1a11767e13
Merge pull request #324 from v-kaywon/attrPersistent
...
implement throwing exception when ATTR_PERSISTENT is in connection
2017-03-20 13:33:25 -07:00
v-kaywon
20198804bb
Update pdo_065_construct_persistent.phpt
2017-03-20 12:42:31 -07:00
v-kaywon
d289754362
Update pdo_065_construct_prefetch.phpt
2017-03-20 12:41:36 -07:00
v-kaywon
c9492ae487
fix memory leak caused by pecalloced persistent connection; fix test indentation
2017-03-17 16:46:02 -07:00
Hadis Kakanejadi Fard
dba4d635c5
Merge pull request #326 from v-kaywon/decimalTest
...
add test for bind output param with decimal type and scale specified (#321 )
2017-03-17 12:45:07 -07:00
v-kaywon
048ecf86fd
Update pdo_output_decimal.phpt
2017-03-16 11:48:09 -07:00
v-kaywon
021b070d93
fix pdo_stored_proc_fetch_datatypes.phpt
2017-03-16 10:02:23 -07:00
v-kaywon
9f65c08b37
Update pdo_output_decimal.phpt
2017-03-15 10:19:30 -07:00
v-kaywon
8565882bbb
Update pdo_output_decimal.phpt
2017-03-15 09:45:23 -07:00
v-kaywon
43cafcaf86
Update pdo_output_decimal.phpt
2017-03-15 09:26:02 -07:00
v-kaywon
33b5d0bf4c
add test for bind output param with decimal type and scale specified
2017-03-14 10:51:51 -07:00
v-kaywon
b701fab642
implement throwing exception when ATTR_PERSISTENT is in the connection options; added tests
2017-03-13 17:54:58 -07:00
yitam
5795e0eceb
one more test
2017-03-09 14:12:53 -08:00
yitam
a10fe30fd5
modified a failing test
2017-03-08 16:13:57 -08:00
yitam
497797ec61
fixed some tests
2017-03-08 15:53:59 -08:00
yitam
9f91c815a4
removed redundant tests
2017-03-08 14:34:56 -08:00
yitam
194f37f8d5
part 5 new sqlsrv tests
2017-03-08 14:17:21 -08:00
yitam
45ea247c3f
part 4 fetching various types
2017-03-08 09:55:29 -08:00
yitam
e53ca834d3
part 3 testing rowCount
2017-03-07 17:25:39 -08:00
yitam
85391e6478
part 2 testing diff API
2017-03-07 16:47:38 -08:00
yitam
aeacaf7a50
part 1 with utf8 data
2017-03-07 15:05:53 -08:00
Hadis Kakanejadi Fard
4532c72eab
added client info tests
2017-03-03 18:25:08 -08:00
Jenny Tam
8d2d637a9e
Update srv_308_empty_output_param.phpt
2017-03-01 08:20:36 -08:00
yitam
821e7edf5b
added a sqlsrv test, a variant
2017-03-01 08:19:10 -08:00
yitam
26c5f1785f
Issue #308
2017-02-28 10:04:59 -08:00
yitam
efc52c6be6
modified tests based on review
2017-02-27 13:16:12 -08:00
yitam
ee1be419be
batch 3
2017-02-24 14:11:29 -08:00
yitam
9b22f0c3fc
batch 2
2017-02-24 10:58:59 -08:00
yitam
805cd3393c
batch 1
2017-02-23 21:40:51 -08:00
Jenny Tam
e854a9ca53
Merge pull request #296 from v-dareck/remove_uchar
...
Remove uchar.h
2017-02-23 13:27:49 -08:00
v-dareck
47d5d809ed
Fix baseline for #297 changes.
2017-02-23 11:43:14 -08:00
Jenny Tam
12e6535a7f
Merge pull request #297 from Hadis-Fard/dev
...
issue #270 fix
2017-02-22 14:18:56 -08:00
Hadis Kakanejadi Fard
9ec0956347
fixed comment
2017-02-22 11:25:33 -08:00
Hadis Kakanejadi Fard
29443afc22
fixed string quotes and free stmt
2017-02-22 11:19:04 -08:00
Hadis Kakanejadi Fard
f559610293
Changed db to tempdb and random table name
2017-02-22 10:11:27 -08:00
Hadis Kakanejadi Fard
c89c46415d
fixed indentations
2017-02-22 09:26:57 -08:00
Hadis Kakanejadi Fard
40893c0ebf
fixed indentation and typo
2017-02-22 09:21:44 -08:00
Hadis Kakanejadi Fard
73a70da397
caps description
2017-02-21 17:42:39 -08:00
Hadis Kakanejadi Fard
a5983ef546
added autonomous setup to test
2017-02-21 16:54:47 -08:00
Hadis Kakanejadi Fard
72e7efbaf6
test fetch binary
2017-02-21 16:05:21 -08:00
v-dareck
13c5d53f78
Update phpt comment.
2017-02-21 13:33:37 -08:00
v-dareck
e09b8419d6
Add buffered sqlsrv test.
2017-02-21 13:12:13 -08:00
v-dareck
5951e32886
Remove uchar.h usage from buffered results.
2017-02-20 18:11:27 -08:00
yitam
0705d9b1a8
calculate field size instead of using column size and fixed the parameter encoding
2017-02-20 15:24:41 -08:00
v-dareck
5bff3c5468
Update PHPT comment and script.
2017-02-16 15:25:41 -08:00
v-dareck
b96499ff00
Update PHPT comment.
2017-02-16 13:56:02 -08:00
v-dareck
98fd299a31
Add check for SQL_NO_TOTAL for SQLBindParameter out parameter.
2017-02-16 11:50:24 -08:00
yitam
bdbfaa7c65
simplified the test without image input
2017-02-14 09:16:52 -08:00
yitam
7ca80918ef
add a simple test case with an input file
2017-02-10 14:28:33 -08:00
yitam
27d35af223
Fix and tests for issue #69
2017-02-10 09:51:51 -08:00
Jenny Tam
e363a44cf5
Merge pull request #281 from v-dareck/github267_closeCursor
...
Github #267 close cursor error
2017-02-10 08:04:48 -08:00
v-dareck
fc8433ac83
Fix error message in close cursor. Change prepare to query in test.
2017-02-09 16:41:39 -08:00
Jenny Tam
a022bcf8a6
Modified the test
...
to make it more robust
2017-02-09 15:23:38 -08:00
yitam
f90be11567
added a test
2017-02-09 13:27:48 -08:00
v-dareck
887857eaf2
In closeCursor check if statement has been executed before moving to next result.
2017-02-08 16:38:12 -08:00
Kirill Gostaf
9f2e67125e
Update pdo_023.phpt
2017-02-03 16:28:12 -08:00
Kirill Gostaf
62563d29d5
Test: Bind values with PDO::PARAM_BOOL
2017-02-03 16:07:19 -08:00
Kirill Gostaf
674e7736ac
Update srv_037_transaction_rollback.phpt
2017-02-01 13:26:00 -08:00
v-dareck
1268776601
Change FORMAT SQL to CAST as SQL 2008 does not support FORMAT.
2017-02-01 11:48:57 -08:00
v-dareck
c61c272dd2
Change $sample calculation to avoid conversion to float.
2017-01-31 19:07:41 -08:00
v-dareck
fa4c0e8c4c
Merge remaining PHP-7.0-Linux changes into merged codebase.
2017-01-31 18:10:37 -08:00
Kirill Gostaf
1b35af7c8b
Update srv_073_database.phpt
2017-01-31 16:42:41 -08:00
Kirill Gostaf
0f10871fec
Update srv_074_database_wide_string.phpt
2017-01-31 16:41:48 -08:00
Kirill Gostaf
e4a43e1583
Update srv_074_database.phpt
2017-01-31 16:41:17 -08:00
Kirill Gostaf
a2e16c2c2f
Update srv_075_database.phpt
2017-01-31 16:38:45 -08:00
Kirill Gostaf
0a4c69764b
Update srv_075_database_wide_string.phpt
2017-01-31 16:37:53 -08:00
Jenny Tam
1fe9c605d1
Merge pull request #256 from v-dareck/github37_has_rows
...
Github 37 sqlsrv_has_rows
2017-01-30 16:29:24 -08:00
v-dareck
2db27a8769
Add Description section to phpt test.
2017-01-26 12:34:32 -08:00
v-dareck
ed7d6492b5
Update test comments.
2017-01-26 11:25:07 -08:00
v-dareck
911f07180f
Remove comment line from test.
2017-01-26 10:55:43 -08:00
v-dareck
75aa64ec18
Issue 37. sqlsrv_has_rows does not fetch if already true.
...
Change sqlsrv_has_rows to not scroll if already true
when using forward only cursor.
2017-01-25 13:55:55 -08:00
v-dareck
69a744d808
Issue 228. Don't allow 0 for sqlsrv ClientBufferMaxKBSize.
...
Add new tests for sqlsrv and pdo.
2017-01-25 13:37:48 -08:00
v-dareck
9f74ef7326
Initial AppVeyor CI test build.
2017-01-10 13:59:16 -08:00