#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for mysqltcl 3.051.
+# Generated by GNU Autoconf 2.68 for mysqltcl 3.052.
#
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# Identity of this package.
PACKAGE_NAME='mysqltcl'
PACKAGE_TARNAME='mysqltcl'
-PACKAGE_VERSION='3.051'
-PACKAGE_STRING='mysqltcl 3.051'
+PACKAGE_VERSION='3.052'
+PACKAGE_STRING='mysqltcl 3.052'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures mysqltcl 3.051 to adapt to many kinds of systems.
+\`configure' configures mysqltcl 3.052 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of mysqltcl 3.051:";;
+ short | recursive ) echo "Configuration of mysqltcl 3.052:";;
esac
cat <<\_ACEOF
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-mysqltcl configure 3.051
+mysqltcl configure 3.052
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by mysqltcl $as_me 3.051, which was
+It was created by mysqltcl $as_me 3.052, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by mysqltcl $as_me 3.051, which was
+This file was extended by mysqltcl $as_me 3.052, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-mysqltcl config.status 3.051
+mysqltcl config.status 3.052
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
#ifdef _WINDOWS\r
#include <windows.h>\r
#define PACKAGE "mysqltcl"\r
- #define PACKAGE_VERSION "3.051"\r
+ #define PACKAGE_VERSION "3.052"\r
#endif\r
\r
#include <tcl.h>\r
return mysql_server_confl(interp,objc,objv,handle->connection);\r
}\r
handle->result = mysql_store_result(handle->connection);\r
+ handle->col_count = mysql_num_fields(handle->result);\r
if (handle->result == NULL) {\r
Tcl_SetObjResult(interp, Tcl_NewIntObj(-1));\r
} else {\r
{\r
return Mysqltcl_Init(interp);\r
}\r
-
+\r
return $hadRow
} -result 1 -returnCodes 2
+tcltest::test {nextresult-rows-1.1} {rows number} -body {
+ mysql::ping $conn
+ mysql::sel $conn {
+ select name from Student where name='Sojka';
+ select name,semester from Student;
+ }
+ set r1 [mysql::result $conn cols]
+ mysql::nextresult $conn
+ set r2 [mysql::result $conn cols]
+ expr {$r1+$r2}
+} -result 3
+
tcltest::test {setserveroption-1.0} {set multistatment off} -body {
mysql::setserveroption $conn -multi_statment_off
mysql::exec $conn {