tdbc::sqlite3

Check-in [3fb3d3cb0e]
Login
Bounty program for improvements to Tcl and certain Tcl packages.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:1.0b8 - commit missed change to 1 failing test, sign manifest
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | 1.0b8
Files: files | file ages | folders
SHA1:3fb3d3cb0e2b85bb6140ceef0132a364257ecc7f
User & Date: kennykb 2009-02-14 21:50:53
Context
2009-02-15
01:52
* README: Fix several editorial details. Thanks to Larry Virden for the patch. (Ticket e33df9041f) check-in: eef4a3bcc7 user: 200002852 tags: trunk
2009-02-14
21:50
1.0b8 - commit missed change to 1 failing test, sign manifest check-in: 3fb3d3cb0e user: kennykb tags: trunk, 1.0b8
21:30
1.0b8 - fixes to documentation, error message formatting, and installers. check-in: 2a89a2cf8b user: 200002852 tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tdbcodbc/ChangeLog.

1
2
3
4
5
6
7





8
9
10
11
12
13
14
2009-02-14  Kevin B. Kenny  <kennykb@acm.org>

	* configure.in:
	* README:		Advance verwsion to 1.0b8
	* configure:		autoconf-2.59
	
	* doc/tdbc_odbc.n:	Formatting changes so that man2html works.





	
2009-02-01  Kevin B. Kenny  <kennykb@acm.org>

	* generic/tdbcodbc.c (StatementInitMethod): Corrected a bad check
	that caused SQLDescribeParam to be bypassed entirely. Corrected
	bad code that was exposed by this fix (SQLDescribeParam failure was
	handled incorrectly). Corrected the error code for variables in	







>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
2009-02-14  Kevin B. Kenny  <kennykb@acm.org>

	* configure.in:
	* README:		Advance verwsion to 1.0b8
	* configure:		autoconf-2.59
	
	* doc/tdbc_odbc.n:	Formatting changes so that man2html works.

	* tests/tdbcodbc.test (tdbc::odbc-26.1):
				Removed superfluous difference between
				SQLite and non-SQLite tests - all now
				return the same SQLSTATE.
	
2009-02-01  Kevin B. Kenny  <kennykb@acm.org>

	* generic/tdbcodbc.c (StatementInitMethod): Corrected a bad check
	that caused SQLDescribeParam to be bypassed entirely. Corrected
	bad code that was exposed by this fix (SQLDescribeParam failure was
	handled incorrectly). Corrected the error code for variables in	

Changes to tdbcodbc/tests/tdbcodbc.test.

2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
	    db allrows {INSERT INTO people(idnum, name) VALUES(1, 'fred')}
	} result] $result $::errorCode
    }
    -match glob
    -result {1 * {TDBC CONSTRAINT_VIOLATION 23000 ODBC *}}
}

test tdbc::odbc-26.1a {parameters in native form} {*}{
    -constraints sqlite
    -body {
	list [catch {
	    db allrows {SELECT * from people where name = ?}
	} result] $result $::errorCode
    }
    -match glob
    -result {1 * {TDBC GENERAL_ERROR HY000 ODBC -1}}
}

test tdbc::odbc-26.1b {parameters in native form} {*}{
    -constraints !sqlite
    -body {
	list [catch {
	    db allrows {SELECT * from people where name = ?}
	} result] $result $::errorCode
    }
    -match glob
    -result {1 * {TDBC DYNAMIC_SQL_ERROR 07002 ODBC *}}
}

#-------------------------------------------------------------------------------

# Test cleanup. Get rid of the test database

catch {rename ::db {}}







|
<
<
<
<
<
<
<
<
<
<
<







|







2941
2942
2943
2944
2945
2946
2947
2948











2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
	    db allrows {INSERT INTO people(idnum, name) VALUES(1, 'fred')}
	} result] $result $::errorCode
    }
    -match glob
    -result {1 * {TDBC CONSTRAINT_VIOLATION 23000 ODBC *}}
}

test tdbc::odbc-26.1 {parameters in native form} {*}{











    -constraints !sqlite
    -body {
	list [catch {
	    db allrows {SELECT * from people where name = ?}
	} result] $result $::errorCode
    }
    -match glob
    -result {1 * {TDBC DYNAMIC_SQL_ERROR 07002 ODBC -1}}
}

#-------------------------------------------------------------------------------

# Test cleanup. Get rid of the test database

catch {rename ::db {}}