Diff of the two buildlogs: -- --- b1/build.log 2023-06-07 06:26:17.249685573 +0000 +++ b2/build.log 2023-06-07 06:31:49.263160406 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jun 6 18:19:22 -12 2023 -I: pbuilder-time-stamp: 1686118762 +I: Current time: Wed Jun 7 20:26:25 +14 2023 +I: pbuilder-time-stamp: 1686119185 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./golang-gopkg-gorp.v1_1.7.2.orig.tar.xz] I: copying [./golang-gopkg-gorp.v1_1.7.2-2.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Apr 19 02:59:56 2020 -12 +gpgv: Signature made Mon Apr 20 04:59:56 2020 +14 gpgv: using RSA key D30863E26020E543F4719A838F53E0193B294B75 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./golang-gopkg-gorp.v1_1.7.2-2.dsc: no acceptable signature found @@ -25,135 +25,167 @@ dpkg-source: info: unpacking golang-gopkg-gorp.v1_1.7.2-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/20604/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/29263/tmp/hooks/D01_modify_environment starting +debug: Running on virt64a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 7 20:26 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/29263/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/29263/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='0aefea6e365148afa3330eacea7d05c5' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='20604' - PS1='# ' - PS2='> ' + INVOCATION_ID=95e55903225e4e81abaad3705ac60774 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=29263 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.tsxup2au/pbuilderrc_gAyb --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.tsxup2au/b1 --logfile b1/build.log golang-gopkg-gorp.v1_1.7.2-2.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.tsxup2au/pbuilderrc_aTGV --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.tsxup2au/b2 --logfile b2/build.log --extrapackages usrmerge golang-gopkg-gorp.v1_1.7.2-2.dsc' + SUDO_GID=114 + SUDO_UID=108 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32a 5.10.0-23-armmp-lpae #1 SMP Debian 5.10.179-1 (2023-05-12) armv7l GNU/Linux + Linux i-capture-the-hostname 5.10.0-23-arm64 #1 SMP Debian 5.10.179-1 (2023-05-12) aarch64 GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/20604/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 Jun 7 20:26 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/29263/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -261,7 +293,7 @@ Get: 58 http://deb.debian.org/debian bookworm/main armhf libsqlite3-dev armhf 3.40.1-2 [926 kB] Get: 59 http://deb.debian.org/debian bookworm/main armhf golang-github-mattn-go-sqlite3-dev armhf 1.14.16~ds1-1 [82.2 kB] Get: 60 http://deb.debian.org/debian bookworm/main armhf golang-github-ziutek-mymysql-dev all 1.5.4+git20170206.23.0582bcf-2 [46.8 kB] -Fetched 101 MB in 30s (3367 kB/s) +Fetched 101 MB in 5s (20.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19324 files and directories currently installed.) @@ -515,8 +547,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/golang-gopkg-gorp.v1-1.7.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-gopkg-gorp.v1_1.7.2-2_source.changes +I: user script /srv/workspace/pbuilder/29263/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/29263/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/golang-gopkg-gorp.v1-1.7.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-gopkg-gorp.v1_1.7.2-2_source.changes dpkg-buildpackage: info: source package golang-gopkg-gorp.v1 dpkg-buildpackage: info: source version 1.7.2-2 dpkg-buildpackage: info: source distribution unstable @@ -534,26 +577,26 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 3 gopkg.in/gorp.v1 + cd _build && go install -trimpath -v -p 4 gopkg.in/gorp.v1 internal/goarch internal/unsafeheader -internal/cpu -internal/abi internal/goexperiment +internal/abi +internal/cpu internal/goos runtime/internal/math runtime/internal/sys runtime/internal/syscall -internal/bytealg -runtime/internal/atomic internal/race sync/atomic unicode unicode/utf8 internal/itoa -runtime math/bits math +internal/bytealg +runtime/internal/atomic +runtime internal/reflectlite sync internal/testlog @@ -561,16 +604,16 @@ sort io internal/oserror -syscall strconv -bytes +syscall internal/safefilepath +bytes path strings reflect regexp/syntax -time internal/syscall/unix +time internal/syscall/execenv regexp context @@ -579,1290 +622,1290 @@ internal/fmtsort os fmt -database/sql/driver log +database/sql/driver database/sql gopkg.in/gorp.v1 dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 3 gopkg.in/gorp.v1 + cd _build && go test -vet=off -v -p 4 gopkg.in/gorp.v1 === RUN TestCreateTablesIfNotExists -2023/06/06 18:25:21 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:21.274459 drop table if exists "invoice_test"; [] -gorptest: 18:25:21.276148 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:21.276243 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:21.276311 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:21.276374 drop table if exists "person_test"; [] -gorptest: 18:25:21.276436 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:21.276497 drop table if exists "id_created_test"; [] -gorptest: 18:25:21.276557 drop table if exists "type_conv_test"; [] -gorptest: 18:25:21.276616 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:21.276677 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:21.276776 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:21.285688 drop table if exists "time_test"; [] -gorptest: 18:25:21.285934 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:21.317730 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:21.340871 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:21.370311 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:21.381079 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:21.397548 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:21.425261 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:21.439465 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:21.453685 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:21.489661 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:21.517012 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:21.527421 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:21.544935 create table if not exists "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:21.545178 create table if not exists "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:21.545281 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:21.545374 create table if not exists "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:21.545480 create table if not exists "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:21.545566 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:21.545641 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:21.545721 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:21.545803 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:21.545885 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:21.545970 create table if not exists "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:21.546049 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:21.546126 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] -gorptest: 18:25:21.546240 drop table if exists "invoice_test"; [] -gorptest: 18:25:21.569606 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:21.589666 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:21.617548 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:21.637587 drop table if exists "person_test"; [] -gorptest: 18:25:21.661548 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:21.681251 drop table if exists "id_created_test"; [] -gorptest: 18:25:21.701372 drop table if exists "type_conv_test"; [] -gorptest: 18:25:21.733258 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:21.767656 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:21.797808 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:21.817252 drop table if exists "time_test"; [] -gorptest: 18:25:21.835660 drop table if exists "id_created_test"; [] ---- PASS: TestCreateTablesIfNotExists (0.56s) +2023/06/07 20:30:58 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:30:58.377296 drop table if exists "invoice_test"; [] +gorptest: 20:30:58.378565 drop table if exists "invoice_tag_test"; [] +gorptest: 20:30:58.378730 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:30:58.378844 drop table if exists "invoice_override_test"; [] +gorptest: 20:30:58.378926 drop table if exists "person_test"; [] +gorptest: 20:30:58.378999 drop table if exists "ignored_column_test"; [] +gorptest: 20:30:58.379070 drop table if exists "id_created_test"; [] +gorptest: 20:30:58.379147 drop table if exists "type_conv_test"; [] +gorptest: 20:30:58.379225 drop table if exists "embedded_struct_test"; [] +gorptest: 20:30:58.379301 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:30:58.379574 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:30:58.379705 drop table if exists "time_test"; [] +gorptest: 20:30:58.379844 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:05.628912 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:06.224602 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:07.506133 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:10.621565 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:10.857096 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:10.996156 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:11.229153 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:11.412157 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:11.591743 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:11.848139 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:12.210753 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:12.382271 create table if not exists "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:12.382586 create table if not exists "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:12.382784 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:12.382950 create table if not exists "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:12.383111 create table if not exists "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:12.383238 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:12.383358 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:12.383542 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:12.383677 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:12.383794 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:12.383927 create table if not exists "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:12.384065 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:12.384198 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] +gorptest: 20:31:12.384317 drop table if exists "invoice_test"; [] +gorptest: 20:31:12.511107 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:12.610242 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:14.582315 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:14.602136 drop table if exists "person_test"; [] +gorptest: 20:31:14.615921 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:14.625018 drop table if exists "id_created_test"; [] +gorptest: 20:31:14.646772 drop table if exists "type_conv_test"; [] +gorptest: 20:31:14.674102 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:14.718875 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:14.742132 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:14.753509 drop table if exists "time_test"; [] +gorptest: 20:31:14.762058 drop table if exists "id_created_test"; [] +--- PASS: TestCreateTablesIfNotExists (16.39s) === RUN TestTruncateTables -2023/06/06 18:25:21 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:21.836309 drop table if exists "invoice_test"; [] -gorptest: 18:25:21.839646 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:21.839778 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:21.839851 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:21.839934 drop table if exists "person_test"; [] -gorptest: 18:25:21.840002 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:21.840111 drop table if exists "id_created_test"; [] -gorptest: 18:25:21.840194 drop table if exists "type_conv_test"; [] -gorptest: 18:25:21.840334 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:21.840475 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:21.840559 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:21.840627 drop table if exists "time_test"; [] -gorptest: 18:25:21.840742 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:21.853398 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:21.869249 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:21.901302 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:21.917291 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:21.933337 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:21.988094 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:22.025667 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:22.037723 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:22.057294 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:22.093335 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:22.109593 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:22.125368 create table if not exists "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:22.125630 create table if not exists "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:22.125734 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:22.125832 create table if not exists "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:22.125931 create table if not exists "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:22.126047 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:22.126187 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:22.126312 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:22.126413 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:22.126504 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:22.126628 create table if not exists "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:22.126725 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:22.126814 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] -gorptest: 18:25:22.126960 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119122126898942 2:1686119122126898942 3:"Bob" 4:"Smith" 5:1] -gorptest: 18:25:22.149367 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] -gorptest: 18:25:22.173304 delete from "invoice_test"; [] -gorptest: 18:25:22.193262 delete from "invoice_tag_test"; [] -gorptest: 18:25:22.221690 delete from "alias_trans_field_test"; [] -gorptest: 18:25:22.237925 delete from "invoice_override_test"; [] -gorptest: 18:25:22.261542 delete from "person_test"; [] -gorptest: 18:25:22.277561 delete from "ignored_column_test"; [] -gorptest: 18:25:22.381309 delete from "id_created_test"; [] -gorptest: 18:25:22.401303 delete from "type_conv_test"; [] -gorptest: 18:25:22.417238 delete from "embedded_struct_test"; [] -gorptest: 18:25:22.441590 delete from "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:22.473290 delete from "embedded_autoincr_test"; [] -gorptest: 18:25:22.493246 delete from "time_test"; [] -gorptest: 18:25:22.508660 delete from "id_created_test"; [] -gorptest: 18:25:22.529256 SELECT * FROM person_test [] -gorptest: 18:25:22.529690 SELECT * FROM invoice_test [] -gorptest: 18:25:22.529943 drop table if exists "invoice_test"; [] -gorptest: 18:25:22.557284 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:22.577294 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:22.609154 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:22.636499 drop table if exists "person_test"; [] -gorptest: 18:25:22.661271 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:22.689356 drop table if exists "id_created_test"; [] -gorptest: 18:25:22.705261 drop table if exists "type_conv_test"; [] -gorptest: 18:25:22.725300 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:22.765294 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:22.785298 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:22.801286 drop table if exists "time_test"; [] -gorptest: 18:25:22.821324 drop table if exists "id_created_test"; [] ---- PASS: TestTruncateTables (0.99s) +2023/06/07 20:31:14 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:14.762817 drop table if exists "invoice_test"; [] +gorptest: 20:31:14.763691 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:14.763809 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:14.763915 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:14.764028 drop table if exists "person_test"; [] +gorptest: 20:31:14.764139 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:14.764294 drop table if exists "id_created_test"; [] +gorptest: 20:31:14.764499 drop table if exists "type_conv_test"; [] +gorptest: 20:31:14.764580 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:14.764646 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:14.764736 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:14.764834 drop table if exists "time_test"; [] +gorptest: 20:31:14.764943 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:14.773089 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:14.781763 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:14.790530 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:14.805993 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:14.846045 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:14.865151 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:14.873821 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:14.882589 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:14.932582 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:14.943307 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:14.952316 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:14.967246 create table if not exists "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:14.967608 create table if not exists "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:14.968147 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:14.968302 create table if not exists "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:14.968446 create table if not exists "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:14.968705 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:14.968902 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:14.969020 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:14.969172 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:14.969320 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:14.969510 create table if not exists "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:14.969660 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:14.969769 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] +gorptest: 20:31:14.969948 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119474969882710 2:1686119474969882710 3:"Bob" 4:"Smith" 5:1] +gorptest: 20:31:15.013517 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] +gorptest: 20:31:15.027169 delete from "invoice_test"; [] +gorptest: 20:31:15.037745 delete from "invoice_tag_test"; [] +gorptest: 20:31:15.046326 delete from "alias_trans_field_test"; [] +gorptest: 20:31:15.054855 delete from "invoice_override_test"; [] +gorptest: 20:31:15.064125 delete from "person_test"; [] +gorptest: 20:31:15.072126 delete from "ignored_column_test"; [] +gorptest: 20:31:15.079955 delete from "id_created_test"; [] +gorptest: 20:31:15.087667 delete from "type_conv_test"; [] +gorptest: 20:31:15.095647 delete from "embedded_struct_test"; [] +gorptest: 20:31:15.103791 delete from "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:15.113843 delete from "embedded_autoincr_test"; [] +gorptest: 20:31:15.122058 delete from "time_test"; [] +gorptest: 20:31:15.130042 delete from "id_created_test"; [] +gorptest: 20:31:15.138046 SELECT * FROM person_test [] +gorptest: 20:31:15.146189 SELECT * FROM invoice_test [] +gorptest: 20:31:15.146473 drop table if exists "invoice_test"; [] +gorptest: 20:31:15.204580 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:15.213142 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:15.222004 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:15.230489 drop table if exists "person_test"; [] +gorptest: 20:31:15.239062 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:15.251945 drop table if exists "id_created_test"; [] +gorptest: 20:31:15.279244 drop table if exists "type_conv_test"; [] +gorptest: 20:31:15.309909 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:15.320171 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:15.336017 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:15.345057 drop table if exists "time_test"; [] +gorptest: 20:31:15.359497 drop table if exists "id_created_test"; [] +--- PASS: TestTruncateTables (0.60s) === RUN TestCustomDateType -gorptest: 18:25:22.821952 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] -gorptest: 18:25:22.841468 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2023-06-06 18:25:22 -1200 -12] -gorptest: 18:25:22.877350 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] -gorptest: 18:25:22.877825 drop table if exists "WithCustomDate"; [] ---- PASS: TestCustomDateType (0.09s) +gorptest: 20:31:15.360144 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] +gorptest: 20:31:15.403680 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2023-06-07 20:31:15 +1400 +14] +gorptest: 20:31:15.412451 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] +gorptest: 20:31:15.420208 drop table if exists "WithCustomDate"; [] +--- PASS: TestCustomDateType (0.14s) === RUN TestUIntPrimaryKey -gorptest: 18:25:22.909801 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] -gorptest: 18:25:22.929327 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] -gorptest: 18:25:22.949328 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] -gorptest: 18:25:22.979379 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] -gorptest: 18:25:23.005369 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] -gorptest: 18:25:23.024256 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] -gorptest: 18:25:23.053296 drop table if exists "PersonUInt64"; [] -gorptest: 18:25:23.073304 drop table if exists "PersonUInt32"; [] -gorptest: 18:25:23.094120 drop table if exists "PersonUInt16"; [] ---- PASS: TestUIntPrimaryKey (0.22s) +gorptest: 20:31:15.497085 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] +gorptest: 20:31:16.028253 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] +gorptest: 20:31:16.888420 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] +gorptest: 20:31:17.072289 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] +gorptest: 20:31:17.130694 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] +gorptest: 20:31:17.191350 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] +gorptest: 20:31:17.251047 drop table if exists "PersonUInt64"; [] +gorptest: 20:31:17.508312 drop table if exists "PersonUInt32"; [] +gorptest: 20:31:17.812579 drop table if exists "PersonUInt16"; [] +--- PASS: TestUIntPrimaryKey (2.50s) === RUN TestSetUniqueTogether -gorptest: 18:25:23.129778 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] -gorptest: 18:25:23.157849 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] -gorptest: 18:25:23.174354 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] -gorptest: 18:25:23.174804 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] -gorptest: 18:25:23.175050 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] -gorptest: 18:25:23.201771 drop table if exists "UniqueColumns"; [] ---- PASS: TestSetUniqueTogether (0.10s) +gorptest: 20:31:17.999111 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] +gorptest: 20:31:18.030087 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] +gorptest: 20:31:18.039538 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] +gorptest: 20:31:18.039975 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] +gorptest: 20:31:18.040210 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] +gorptest: 20:31:18.250547 drop table if exists "UniqueColumns"; [] +--- PASS: TestSetUniqueTogether (0.38s) === RUN TestPersistentUser -gorptest: 18:25:23.231518 drop table if exists PersistentUser [] -gorptest: 18:25:23.232643 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] -gorptest: 18:25:23.257374 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] -gorptest: 18:25:23.277336 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] -gorptest: 18:25:23.277748 select * from PersistentUser [] -gorptest: 18:25:23.278043 select * from PersistentUser [] -gorptest: 18:25:23.278332 select * from PersistentUser [] -gorptest: 18:25:23.278581 select Id from PersistentUser [] -gorptest: 18:25:23.278779 select mykey from PersistentUser [] -gorptest: 18:25:23.278976 select PassedTraining from PersistentUser [] -gorptest: 18:25:23.279166 select Id from PersistentUser [] -gorptest: 18:25:23.279357 drop table if exists "PersistentUser"; [] ---- PASS: TestPersistentUser (0.08s) +gorptest: 20:31:18.382049 drop table if exists PersistentUser [] +gorptest: 20:31:18.383234 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] +gorptest: 20:31:18.394162 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] +gorptest: 20:31:18.405317 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] +gorptest: 20:31:18.405762 select * from PersistentUser [] +gorptest: 20:31:18.406105 select * from PersistentUser [] +gorptest: 20:31:18.406396 select * from PersistentUser [] +gorptest: 20:31:18.406685 select Id from PersistentUser [] +gorptest: 20:31:18.406915 select mykey from PersistentUser [] +gorptest: 20:31:18.407131 select PassedTraining from PersistentUser [] +gorptest: 20:31:18.407371 select Id from PersistentUser [] +gorptest: 20:31:18.407644 drop table if exists "PersistentUser"; [] +--- PASS: TestPersistentUser (0.12s) === RUN TestNamedQueryMap -gorptest: 18:25:23.313681 drop table if exists PersistentUser [] -gorptest: 18:25:23.314726 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] -gorptest: 18:25:23.341699 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] -gorptest: 18:25:23.353660 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] -gorptest: 18:25:23.381429 select * from PersistentUser where mykey = ? [1:43] -gorptest: 18:25:23.381919 select * from PersistentUser where mykey = ? [1:43] -gorptest: 18:25:23.382266 +gorptest: 20:31:18.502469 drop table if exists PersistentUser [] +gorptest: 20:31:18.503514 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] +gorptest: 20:31:18.705048 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] +gorptest: 20:31:18.811696 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] +gorptest: 20:31:18.941626 select * from PersistentUser where mykey = ? [1:43] +gorptest: 20:31:18.942169 select * from PersistentUser where mykey = ? [1:43] +gorptest: 20:31:18.942504 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] -gorptest: 18:25:23.382588 +gorptest: 20:31:18.942849 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] -gorptest: 18:25:23.382864 drop table if exists "PersistentUser"; [] ---- PASS: TestNamedQueryMap (0.10s) +gorptest: 20:31:18.943141 drop table if exists "PersistentUser"; [] +--- PASS: TestNamedQueryMap (0.46s) === RUN TestNamedQueryStruct -gorptest: 18:25:23.410127 drop table if exists PersistentUser [] -gorptest: 18:25:23.411082 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] -gorptest: 18:25:23.441195 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] -gorptest: 18:25:23.461314 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] -gorptest: 18:25:23.477335 +gorptest: 20:31:18.962530 drop table if exists PersistentUser [] +gorptest: 20:31:18.963585 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] +gorptest: 20:31:18.974098 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] +gorptest: 20:31:18.981727 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] +gorptest: 20:31:18.996909 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] -gorptest: 18:25:23.477809 drop table if exists "PersistentUser"; [] ---- PASS: TestNamedQueryStruct (0.08s) +gorptest: 20:31:18.997452 drop table if exists "PersistentUser"; [] +--- PASS: TestNamedQueryStruct (0.04s) === RUN TestReturnsNonNilSlice -2023/06/06 18:25:23 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:23.489980 drop table if exists "invoice_test"; [] -gorptest: 18:25:23.490760 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:23.490867 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:23.490962 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:23.491056 drop table if exists "person_test"; [] -gorptest: 18:25:23.491151 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:23.491245 drop table if exists "id_created_test"; [] -gorptest: 18:25:23.491342 drop table if exists "type_conv_test"; [] -gorptest: 18:25:23.491436 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:23.491529 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:23.491623 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:23.491715 drop table if exists "time_test"; [] -gorptest: 18:25:23.491852 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:23.521640 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:23.543238 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:23.573286 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:23.597307 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:23.621283 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:23.638054 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:23.677308 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:23.697363 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:23.741351 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:23.769319 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:23.789325 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:23.813375 select * from invoice_test where id=99999 [] -gorptest: 18:25:23.813816 select * from invoice_test where id=99999 [] -gorptest: 18:25:23.814101 drop table if exists "invoice_test"; [] -gorptest: 18:25:23.845286 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:23.869280 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:23.889300 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:23.909298 drop table if exists "person_test"; [] -gorptest: 18:25:23.929303 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:23.953357 drop table if exists "id_created_test"; [] -gorptest: 18:25:23.972769 drop table if exists "type_conv_test"; [] -gorptest: 18:25:23.997305 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:24.021272 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:24.057268 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:24.077268 drop table if exists "time_test"; [] -gorptest: 18:25:24.108380 drop table if exists "id_created_test"; [] ---- PASS: TestReturnsNonNilSlice (0.62s) +2023/06/07 20:31:19 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:19.005736 drop table if exists "invoice_test"; [] +gorptest: 20:31:19.006513 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:19.006677 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:19.006811 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:19.006937 drop table if exists "person_test"; [] +gorptest: 20:31:19.007071 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:19.007200 drop table if exists "id_created_test"; [] +gorptest: 20:31:19.007328 drop table if exists "type_conv_test"; [] +gorptest: 20:31:19.007509 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:19.007645 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:19.007775 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:19.007901 drop table if exists "time_test"; [] +gorptest: 20:31:19.008079 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:19.027313 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:19.042860 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:19.051283 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:19.060097 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:19.068671 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:19.333897 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:19.404569 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:19.429197 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:19.439768 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:19.448548 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:19.457500 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:19.581811 select * from invoice_test where id=99999 [] +gorptest: 20:31:19.582296 select * from invoice_test where id=99999 [] +gorptest: 20:31:19.582751 drop table if exists "invoice_test"; [] +gorptest: 20:31:19.943485 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:20.242690 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:20.638784 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:21.002752 drop table if exists "person_test"; [] +gorptest: 20:31:21.556245 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:21.588558 drop table if exists "id_created_test"; [] +gorptest: 20:31:21.603960 drop table if exists "type_conv_test"; [] +gorptest: 20:31:21.659304 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:22.000509 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:22.550679 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:23.124060 drop table if exists "time_test"; [] +gorptest: 20:31:23.332521 drop table if exists "id_created_test"; [] +--- PASS: TestReturnsNonNilSlice (4.33s) === RUN TestOverrideVersionCol -gorptest: 18:25:24.109069 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] -gorptest: 18:25:24.293391 update "InvoicePersonView" set "InvoiceId"=?, "PersonId"=?, "Memo"=?, "FName"=?, "LegacyVersion"=? where "InvoiceId"=? and "PersonId"=? and "LegacyVersion"=?; [1:1 2:2 3:"memo" 4:"fname" 5:1 6:1 7:2 8:1] -gorptest: 18:25:24.293849 drop table if exists "InvoicePersonView"; [] ---- PASS: TestOverrideVersionCol (0.23s) +gorptest: 20:31:23.333291 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] +gorptest: 20:31:23.361027 update "InvoicePersonView" set "InvoiceId"=?, "PersonId"=?, "Memo"=?, "FName"=?, "LegacyVersion"=? where "InvoiceId"=? and "PersonId"=? and "LegacyVersion"=?; [1:1 2:2 3:"memo" 4:"fname" 5:1 6:1 7:2 8:1] +gorptest: 20:31:23.361495 drop table if exists "InvoicePersonView"; [] +--- PASS: TestOverrideVersionCol (0.04s) === RUN TestOptimisticLocking -2023/06/06 18:25:24 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:24.341880 drop table if exists "invoice_test"; [] -gorptest: 18:25:24.342794 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:24.342936 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:24.343073 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:24.343210 drop table if exists "person_test"; [] -gorptest: 18:25:24.343344 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:24.343482 drop table if exists "id_created_test"; [] -gorptest: 18:25:24.343620 drop table if exists "type_conv_test"; [] -gorptest: 18:25:24.343750 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:24.343858 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:24.343939 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:24.344079 drop table if exists "time_test"; [] -gorptest: 18:25:24.344189 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:24.369286 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:24.389280 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:24.417286 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:24.437316 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:24.457740 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:24.489300 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:24.509272 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:24.529288 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:24.549268 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:24.569324 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:24.593286 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:24.617422 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119124617340510 2:1686119124617340510 3:"Bob" 4:"Smith" 5:1] -gorptest: 18:25:24.637319 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] -gorptest: 18:25:24.637858 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1686119124617340510 2:1686119124617340510 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] -gorptest: 18:25:24.677709 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1686119124617340510 2:1686119124617340510 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] -gorptest: 18:25:24.678121 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] -gorptest: 18:25:24.678482 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] -gorptest: 18:25:24.678690 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] -gorptest: 18:25:24.678946 drop table if exists "invoice_test"; [] -gorptest: 18:25:24.709664 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:24.729253 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:24.757617 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:24.793352 drop table if exists "person_test"; [] -gorptest: 18:25:24.813293 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:24.833307 drop table if exists "id_created_test"; [] -gorptest: 18:25:24.857292 drop table if exists "type_conv_test"; [] -gorptest: 18:25:24.877279 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:24.897609 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:24.917492 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:24.937337 drop table if exists "time_test"; [] -gorptest: 18:25:24.953275 drop table if exists "id_created_test"; [] ---- PASS: TestOptimisticLocking (0.61s) +2023/06/07 20:31:23 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:23.377962 drop table if exists "invoice_test"; [] +gorptest: 20:31:23.378827 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:23.379023 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:23.379142 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:23.379248 drop table if exists "person_test"; [] +gorptest: 20:31:23.379362 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:23.379516 drop table if exists "id_created_test"; [] +gorptest: 20:31:23.379633 drop table if exists "type_conv_test"; [] +gorptest: 20:31:23.379744 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:23.379855 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:23.379966 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:23.380085 drop table if exists "time_test"; [] +gorptest: 20:31:23.380224 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:23.406285 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:23.431553 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:23.447209 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:23.460608 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:23.485666 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:23.511902 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:23.530690 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:23.562019 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:23.591377 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:23.606070 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:23.620698 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:23.629211 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119483629133630 2:1686119483629133630 3:"Bob" 4:"Smith" 5:1] +gorptest: 20:31:23.653539 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] +gorptest: 20:31:23.654085 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1686119483629133630 2:1686119483629133630 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] +gorptest: 20:31:23.669301 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1686119483629133630 2:1686119483629133630 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] +gorptest: 20:31:23.669688 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] +gorptest: 20:31:23.670087 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] +gorptest: 20:31:23.670306 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] +gorptest: 20:31:23.670610 drop table if exists "invoice_test"; [] +gorptest: 20:31:23.695832 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:23.711540 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:23.739287 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:23.750911 drop table if exists "person_test"; [] +gorptest: 20:31:23.762337 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:23.770267 drop table if exists "id_created_test"; [] +gorptest: 20:31:23.777567 drop table if exists "type_conv_test"; [] +gorptest: 20:31:23.785562 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:23.806763 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:23.814350 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:23.823768 drop table if exists "time_test"; [] +gorptest: 20:31:23.833624 drop table if exists "id_created_test"; [] +--- PASS: TestOptimisticLocking (0.46s) === RUN TestDoubleAddTable --- PASS: TestDoubleAddTable (0.00s) === RUN TestNullValues -gorptest: 18:25:24.953997 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] -gorptest: 18:25:24.973307 insert into TableWithNull values (10, null, null, null, null, null) [] -gorptest: 18:25:25.005335 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] -gorptest: 18:25:25.005855 update "TableWithNull" set "Id"=?, "Str"=?, "Int64"=?, "Float64"=?, "Bool"=?, "Bytes"=? where "Id"=?; [1:10 2:"hi" 3:999 4:53.33 5:true 6:[1 30 31 33] 7:10] -gorptest: 18:25:25.021710 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] -gorptest: 18:25:25.022236 drop table if exists "TableWithNull"; [] ---- PASS: TestNullValues (0.11s) +gorptest: 20:31:23.834602 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] +gorptest: 20:31:23.857254 insert into TableWithNull values (10, null, null, null, null, null) [] +gorptest: 20:31:23.865530 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] +gorptest: 20:31:23.866153 update "TableWithNull" set "Id"=?, "Str"=?, "Int64"=?, "Float64"=?, "Bool"=?, "Bytes"=? where "Id"=?; [1:10 2:"hi" 3:999 4:53.33 5:true 6:[1 30 31 33] 7:10] +gorptest: 20:31:23.873844 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] +gorptest: 20:31:23.874344 drop table if exists "TableWithNull"; [] +--- PASS: TestNullValues (0.06s) === RUN TestColumnProps -gorptest: 18:25:25.065700 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] -gorptest: 18:25:25.089652 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] -gorptest: 18:25:25.129140 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] -gorptest: 18:25:25.129651 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] -gorptest: 18:25:25.129950 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] -gorptest: 18:25:25.130199 drop table if exists "Invoice"; [] ---- PASS: TestColumnProps (0.11s) +gorptest: 20:31:23.890783 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] +gorptest: 20:31:23.916414 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] +gorptest: 20:31:23.930635 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] +gorptest: 20:31:23.931148 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] +gorptest: 20:31:23.931581 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] +gorptest: 20:31:23.931845 drop table if exists "Invoice"; [] +--- PASS: TestColumnProps (0.07s) === RUN TestRawSelect -2023/06/06 18:25:25 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:25.178258 drop table if exists "invoice_test"; [] -gorptest: 18:25:25.179166 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:25.179294 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:25.179398 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:25.179509 drop table if exists "person_test"; [] -gorptest: 18:25:25.179617 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:25.179724 drop table if exists "id_created_test"; [] -gorptest: 18:25:25.179830 drop table if exists "type_conv_test"; [] -gorptest: 18:25:25.179939 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:25.180103 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:25.180220 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:25.180322 drop table if exists "time_test"; [] -gorptest: 18:25:25.180464 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:25.201373 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:25.214118 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:25.257348 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:25.277303 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:25.293247 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:25.313274 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:25.357301 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:25.397301 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:25.417271 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:25.439875 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:25.461345 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:25.481373 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119125481280421 2:1686119125481280421 3:"bob" 4:"smith" 5:1] -gorptest: 18:25:25.505312 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] -gorptest: 18:25:25.553275 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] -gorptest: 18:25:25.553864 drop table if exists "invoice_test"; [] -gorptest: 18:25:25.572348 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:25.594837 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:25.619451 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:25.661065 drop table if exists "person_test"; [] -gorptest: 18:25:25.677314 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:25.708701 drop table if exists "id_created_test"; [] -gorptest: 18:25:25.737302 drop table if exists "type_conv_test"; [] -gorptest: 18:25:25.754627 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:25.777323 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:25.813293 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:25.837294 drop table if exists "time_test"; [] -gorptest: 18:25:25.865282 drop table if exists "id_created_test"; [] ---- PASS: TestRawSelect (0.69s) +2023/06/07 20:31:23 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:23.960445 drop table if exists "invoice_test"; [] +gorptest: 20:31:23.961475 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:23.961616 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:23.961769 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:23.961906 drop table if exists "person_test"; [] +gorptest: 20:31:23.962049 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:23.962162 drop table if exists "id_created_test"; [] +gorptest: 20:31:23.962298 drop table if exists "type_conv_test"; [] +gorptest: 20:31:23.962408 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:23.966313 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:23.966436 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:23.966547 drop table if exists "time_test"; [] +gorptest: 20:31:23.966725 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:23.995363 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:24.022626 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:24.031343 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:24.039563 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:24.047665 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:24.074343 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:24.087540 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:24.102693 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:24.131147 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:24.146947 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:24.191373 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:24.224143 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119484224031194 2:1686119484224031194 3:"bob" 4:"smith" 5:1] +gorptest: 20:31:24.254868 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] +gorptest: 20:31:24.290659 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] +gorptest: 20:31:24.291290 drop table if exists "invoice_test"; [] +gorptest: 20:31:24.318464 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:24.348909 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:24.368313 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:24.395235 drop table if exists "person_test"; [] +gorptest: 20:31:24.411903 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:24.439161 drop table if exists "id_created_test"; [] +gorptest: 20:31:24.453551 drop table if exists "type_conv_test"; [] +gorptest: 20:31:24.481430 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:24.493749 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:24.524456 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:24.542616 drop table if exists "time_test"; [] +gorptest: 20:31:24.569466 drop table if exists "id_created_test"; [] +--- PASS: TestRawSelect (0.61s) === RUN TestHooks -2023/06/06 18:25:25 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:25.866055 drop table if exists "invoice_test"; [] -gorptest: 18:25:25.866896 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:25.867036 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:25.867147 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:25.867255 drop table if exists "person_test"; [] -gorptest: 18:25:25.867361 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:25.867471 drop table if exists "id_created_test"; [] -gorptest: 18:25:25.867577 drop table if exists "type_conv_test"; [] -gorptest: 18:25:25.867689 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:25.867809 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:25.867927 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:25.868036 drop table if exists "time_test"; [] -gorptest: 18:25:25.868177 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:25.897365 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:25.921313 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:25.945344 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:25.969345 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:25.991307 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:26.025374 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:26.053217 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:26.085370 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:26.109428 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:26.129326 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:26.153341 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:26.189312 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119126189207175 2:1686119126189207175 3:"bob" 4:"smith" 5:1] -gorptest: 18:25:26.213377 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] -gorptest: 18:25:26.213881 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1686119126189207175 2:1686119126189207175 3:"preupdate" 4:"postget" 5:2 6:1 7:1] -gorptest: 18:25:26.237340 select * from person_test where id = ? [1:1] -gorptest: 18:25:26.237935 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] -gorptest: 18:25:26.261300 drop table if exists "invoice_test"; [] -gorptest: 18:25:26.281452 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:26.309857 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:26.336079 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:26.353497 drop table if exists "person_test"; [] -gorptest: 18:25:26.381303 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:26.399435 drop table if exists "id_created_test"; [] -gorptest: 18:25:26.428077 drop table if exists "type_conv_test"; [] -gorptest: 18:25:26.442498 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:26.457294 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:26.484879 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:26.507648 drop table if exists "time_test"; [] -gorptest: 18:25:26.529264 drop table if exists "id_created_test"; [] ---- PASS: TestHooks (0.66s) +2023/06/07 20:31:24 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:24.570214 drop table if exists "invoice_test"; [] +gorptest: 20:31:24.571142 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:24.571256 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:24.571335 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:24.571405 drop table if exists "person_test"; [] +gorptest: 20:31:24.571844 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:24.571942 drop table if exists "id_created_test"; [] +gorptest: 20:31:24.572092 drop table if exists "type_conv_test"; [] +gorptest: 20:31:24.572198 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:24.572285 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:24.572383 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:24.572461 drop table if exists "time_test"; [] +gorptest: 20:31:24.572617 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:24.591726 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:24.626078 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:24.660280 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:24.692468 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:24.712609 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:24.739081 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:24.964243 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:24.994557 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:25.018893 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:25.043992 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:25.060946 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:25.089272 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119485089186648 2:1686119485089186648 3:"bob" 4:"smith" 5:1] +gorptest: 20:31:25.103236 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] +gorptest: 20:31:25.103811 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1686119485089186648 2:1686119485089186648 3:"preupdate" 4:"postget" 5:2 6:1 7:1] +gorptest: 20:31:25.130892 select * from person_test where id = ? [1:1] +gorptest: 20:31:25.131554 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] +gorptest: 20:31:25.161476 drop table if exists "invoice_test"; [] +gorptest: 20:31:25.189536 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:25.204992 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:25.237216 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:25.253321 drop table if exists "person_test"; [] +gorptest: 20:31:25.278657 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:25.292594 drop table if exists "id_created_test"; [] +gorptest: 20:31:25.322539 drop table if exists "type_conv_test"; [] +gorptest: 20:31:25.335384 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:25.364949 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:25.392219 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:25.413269 drop table if exists "time_test"; [] +gorptest: 20:31:25.442746 drop table if exists "id_created_test"; [] +--- PASS: TestHooks (0.87s) === RUN TestTransaction -2023/06/06 18:25:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:26.529952 drop table if exists "invoice_test"; [] -gorptest: 18:25:26.530678 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:26.530766 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:26.530834 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:26.530897 drop table if exists "person_test"; [] -gorptest: 18:25:26.530960 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:26.531022 drop table if exists "id_created_test"; [] -gorptest: 18:25:26.531088 drop table if exists "type_conv_test"; [] -gorptest: 18:25:26.531163 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:26.531271 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:26.531394 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:26.531485 drop table if exists "time_test"; [] -gorptest: 18:25:26.531579 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:26.560795 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:26.605330 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:26.633327 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:26.665375 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:26.685311 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:26.709361 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:26.745338 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:26.769306 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:26.797332 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:26.829375 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:26.857322 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:26.881345 begin; [] -gorptest: 18:25:26.881612 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] -gorptest: 18:25:26.882376 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] -gorptest: 18:25:26.882567 commit; [] -gorptest: 18:25:26.909373 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] -gorptest: 18:25:26.909837 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] -gorptest: 18:25:26.910186 drop table if exists "invoice_test"; [] -gorptest: 18:25:26.925276 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:26.955900 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:26.989271 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:27.009321 drop table if exists "person_test"; [] -gorptest: 18:25:27.033279 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:27.052761 drop table if exists "id_created_test"; [] -gorptest: 18:25:27.073265 drop table if exists "type_conv_test"; [] -gorptest: 18:25:27.097297 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:27.129286 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:27.157339 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:27.189317 drop table if exists "time_test"; [] -gorptest: 18:25:27.217300 drop table if exists "id_created_test"; [] ---- PASS: TestTransaction (0.69s) +2023/06/07 20:31:25 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:25.443523 drop table if exists "invoice_test"; [] +gorptest: 20:31:25.444286 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:25.444410 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:25.444520 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:25.444635 drop table if exists "person_test"; [] +gorptest: 20:31:25.444776 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:25.444893 drop table if exists "id_created_test"; [] +gorptest: 20:31:25.444990 drop table if exists "type_conv_test"; [] +gorptest: 20:31:25.445087 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:25.445197 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:25.445308 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:25.445419 drop table if exists "time_test"; [] +gorptest: 20:31:25.445559 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:25.458838 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:25.495199 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:25.521382 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:25.544289 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:25.571562 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:25.597866 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:25.614849 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:25.634371 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:25.663891 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:25.692730 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:25.721433 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:25.747117 begin; [] +gorptest: 20:31:25.747393 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] +gorptest: 20:31:25.748285 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] +gorptest: 20:31:25.748496 commit; [] +gorptest: 20:31:25.781437 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] +gorptest: 20:31:25.781926 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] +gorptest: 20:31:25.782267 drop table if exists "invoice_test"; [] +gorptest: 20:31:25.810700 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:25.828358 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:25.857927 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:25.889519 drop table if exists "person_test"; [] +gorptest: 20:31:25.921546 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:26.088980 drop table if exists "id_created_test"; [] +gorptest: 20:31:26.201462 drop table if exists "type_conv_test"; [] +gorptest: 20:31:26.264045 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:26.272319 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:26.284193 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:26.304015 drop table if exists "time_test"; [] +gorptest: 20:31:26.319086 drop table if exists "id_created_test"; [] +--- PASS: TestTransaction (0.88s) === RUN TestSavepoint -2023/06/06 18:25:27 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:27.218037 drop table if exists "invoice_test"; [] -gorptest: 18:25:27.218772 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:27.218859 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:27.218927 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:27.218992 drop table if exists "person_test"; [] -gorptest: 18:25:27.219055 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:27.219117 drop table if exists "id_created_test"; [] -gorptest: 18:25:27.219203 drop table if exists "type_conv_test"; [] -gorptest: 18:25:27.219312 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:27.219394 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:27.219463 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:27.219528 drop table if exists "time_test"; [] -gorptest: 18:25:27.219617 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:27.249292 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:27.265316 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:27.296917 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:27.313300 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:27.340937 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:27.369298 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:27.405296 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:27.429290 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:27.453292 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:27.489296 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:27.511330 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:27.529276 begin; [] -gorptest: 18:25:27.529508 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] -gorptest: 18:25:27.530046 select memo from invoice_test [] -gorptest: 18:25:27.530255 savepoint "foo" [1:] -gorptest: 18:25:27.530301 select memo from invoice_test [] -gorptest: 18:25:27.530431 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] -gorptest: 18:25:27.530579 select memo from invoice_test [] -gorptest: 18:25:27.530686 rollback to savepoint "foo" [1:] -gorptest: 18:25:27.530736 select memo from invoice_test [] -gorptest: 18:25:27.530814 rollback; [] -gorptest: 18:25:27.531077 drop table if exists "invoice_test"; [] -gorptest: 18:25:27.565010 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:27.581241 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:27.605276 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:27.637325 drop table if exists "person_test"; [] -gorptest: 18:25:27.661314 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:27.685267 drop table if exists "id_created_test"; [] -gorptest: 18:25:27.709281 drop table if exists "type_conv_test"; [] -gorptest: 18:25:27.733284 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:27.757284 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:27.801260 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:27.821296 drop table if exists "time_test"; [] -gorptest: 18:25:27.845287 drop table if exists "id_created_test"; [] ---- PASS: TestSavepoint (0.63s) +2023/06/07 20:31:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:26.319957 drop table if exists "invoice_test"; [] +gorptest: 20:31:26.320827 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:26.320998 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:26.321152 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:26.321301 drop table if exists "person_test"; [] +gorptest: 20:31:26.321437 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:26.321542 drop table if exists "id_created_test"; [] +gorptest: 20:31:26.321678 drop table if exists "type_conv_test"; [] +gorptest: 20:31:26.321815 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:26.321944 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:26.322089 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:26.322215 drop table if exists "time_test"; [] +gorptest: 20:31:26.322390 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:26.330638 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:26.339317 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:26.348408 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:26.361224 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:26.372799 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:26.387347 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:26.398946 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:26.408309 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:26.416183 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:26.424356 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:26.435652 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:26.443638 begin; [] +gorptest: 20:31:26.443897 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] +gorptest: 20:31:26.444494 select memo from invoice_test [] +gorptest: 20:31:26.444824 savepoint "foo" [1:] +gorptest: 20:31:26.444915 select memo from invoice_test [] +gorptest: 20:31:26.445121 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] +gorptest: 20:31:26.445350 select memo from invoice_test [] +gorptest: 20:31:26.445492 rollback to savepoint "foo" [1:] +gorptest: 20:31:26.445565 select memo from invoice_test [] +gorptest: 20:31:26.445726 rollback; [] +gorptest: 20:31:26.446034 drop table if exists "invoice_test"; [] +gorptest: 20:31:26.469418 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:26.480546 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:26.488201 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:26.496136 drop table if exists "person_test"; [] +gorptest: 20:31:26.503811 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:26.517710 drop table if exists "id_created_test"; [] +gorptest: 20:31:26.583779 drop table if exists "type_conv_test"; [] +gorptest: 20:31:26.612786 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:26.640969 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:26.664348 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:26.696034 drop table if exists "time_test"; [] +gorptest: 20:31:26.727187 drop table if exists "id_created_test"; [] +--- PASS: TestSavepoint (0.41s) === RUN TestMultiple -2023/06/06 18:25:27 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:27.846028 drop table if exists "invoice_test"; [] -gorptest: 18:25:27.846794 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:27.846887 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:27.846959 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:27.847026 drop table if exists "person_test"; [] -gorptest: 18:25:27.847092 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:27.847156 drop table if exists "id_created_test"; [] -gorptest: 18:25:27.847219 drop table if exists "type_conv_test"; [] -gorptest: 18:25:27.847282 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:27.847359 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:27.847429 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:27.847502 drop table if exists "time_test"; [] -gorptest: 18:25:27.847592 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:27.881293 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:27.905290 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:27.933294 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:27.973299 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:28.001302 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:28.029271 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:28.053299 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:28.073330 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:28.101290 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:28.133320 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:28.157294 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:28.171258 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] -gorptest: 18:25:28.193386 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] -gorptest: 18:25:28.226575 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] -gorptest: 18:25:28.269306 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] -gorptest: 18:25:28.289302 delete from "invoice_test" where "Id"=?; [1:1] -gorptest: 18:25:28.305615 delete from "invoice_test" where "Id"=?; [1:2] -gorptest: 18:25:28.325318 drop table if exists "invoice_test"; [] -gorptest: 18:25:28.341579 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:28.373491 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:28.401570 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:28.421296 drop table if exists "person_test"; [] -gorptest: 18:25:28.437236 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:28.457528 drop table if exists "id_created_test"; [] -gorptest: 18:25:28.477258 drop table if exists "type_conv_test"; [] -gorptest: 18:25:28.497529 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:28.529623 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:28.545242 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:28.565736 drop table if exists "time_test"; [] -gorptest: 18:25:28.581290 drop table if exists "id_created_test"; [] ---- PASS: TestMultiple (0.74s) +2023/06/07 20:31:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:26.728084 drop table if exists "invoice_test"; [] +gorptest: 20:31:26.729155 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:26.729326 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:26.729437 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:26.729541 drop table if exists "person_test"; [] +gorptest: 20:31:26.729847 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:26.729970 drop table if exists "id_created_test"; [] +gorptest: 20:31:26.730095 drop table if exists "type_conv_test"; [] +gorptest: 20:31:26.730189 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:26.730280 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:26.730385 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:26.730501 drop table if exists "time_test"; [] +gorptest: 20:31:26.730639 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:26.754576 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:26.762714 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:26.770734 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:26.778981 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:26.787119 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:26.794903 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:26.815074 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:26.822694 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:26.831660 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:26.840112 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:26.848447 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:26.860228 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] +gorptest: 20:31:26.925454 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] +gorptest: 20:31:26.940767 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] +gorptest: 20:31:26.955954 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] +gorptest: 20:31:26.969209 delete from "invoice_test" where "Id"=?; [1:1] +gorptest: 20:31:26.990520 delete from "invoice_test" where "Id"=?; [1:2] +gorptest: 20:31:26.999105 drop table if exists "invoice_test"; [] +gorptest: 20:31:27.007304 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:27.016266 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:27.024238 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:27.036781 drop table if exists "person_test"; [] +gorptest: 20:31:27.044667 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:27.068450 drop table if exists "id_created_test"; [] +gorptest: 20:31:27.076341 drop table if exists "type_conv_test"; [] +gorptest: 20:31:27.084051 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:27.091680 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:27.102856 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:27.111951 drop table if exists "time_test"; [] +gorptest: 20:31:27.121118 drop table if exists "id_created_test"; [] +--- PASS: TestMultiple (0.39s) === RUN TestCrud -2023/06/06 18:25:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:28.582009 drop table if exists "invoice_test"; [] -gorptest: 18:25:28.582849 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:28.582970 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:28.583080 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:28.583189 drop table if exists "person_test"; [] -gorptest: 18:25:28.583295 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:28.583402 drop table if exists "id_created_test"; [] -gorptest: 18:25:28.583514 drop table if exists "type_conv_test"; [] -gorptest: 18:25:28.583644 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:28.583778 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:28.583913 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:28.584063 drop table if exists "time_test"; [] -gorptest: 18:25:28.584224 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:28.625373 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:28.653302 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:28.697477 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:28.738111 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:28.761294 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:28.781324 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:28.809309 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:28.837318 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:28.857313 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:28.877608 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:28.901332 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:28.933310 delete from invoice_test [] -gorptest: 18:25:28.961332 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] -gorptest: 18:25:28.981066 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] -gorptest: 18:25:28.981625 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:8674665223082153551 2:6129484611666145821 3:"random 5577006791947779410" 4:0 5:true 6:1] -gorptest: 18:25:29.001293 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] -gorptest: 18:25:29.001856 select * from invoice_test [] -gorptest: 18:25:29.002262 delete from "invoice_test" where "Id"=?; [1:1] -gorptest: 18:25:29.021306 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] -gorptest: 18:25:29.021727 delete from invoice_tag_test [] -gorptest: 18:25:29.041333 insert into "invoice_tag_test" ("myid","myCreated","date_updated","Memo","person_id","is_Paid") values (null,?,?,?,?,?); [1:300 2:400 3:"some order" 4:33 5:false] -gorptest: 18:25:29.057265 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] -gorptest: 18:25:29.057745 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:3916589616287113937 2:6334824724549167320 3:"random 4037200794235010051" 4:33 5:false 6:1] -gorptest: 18:25:29.089332 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] -gorptest: 18:25:29.089779 select * from invoice_tag_test [] -gorptest: 18:25:29.090103 delete from "invoice_tag_test" where "myid"=?; [1:1] -gorptest: 18:25:29.109350 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] -gorptest: 18:25:29.109710 delete from alias_trans_field_test [] -gorptest: 18:25:29.129672 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] -gorptest: 18:25:29.153318 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] -gorptest: 18:25:29.153736 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 605394647632969758" 2:1] -gorptest: 18:25:29.169615 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] -gorptest: 18:25:29.169981 select * from alias_trans_field_test [] -gorptest: 18:25:29.170264 delete from "alias_trans_field_test" where "id"=?; [1:1] -gorptest: 18:25:29.201382 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] -gorptest: 18:25:29.201761 drop table if exists "invoice_test"; [] -gorptest: 18:25:29.249668 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:29.273271 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:29.297274 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:29.317295 drop table if exists "person_test"; [] -gorptest: 18:25:29.337526 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:29.353251 drop table if exists "id_created_test"; [] -gorptest: 18:25:29.397275 drop table if exists "type_conv_test"; [] -gorptest: 18:25:29.413532 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:29.429245 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:29.453279 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:29.469260 drop table if exists "time_test"; [] -gorptest: 18:25:29.485240 drop table if exists "id_created_test"; [] ---- PASS: TestCrud (0.90s) +2023/06/07 20:31:27 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:27.121860 drop table if exists "invoice_test"; [] +gorptest: 20:31:27.122675 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:27.122805 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:27.122914 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:27.123046 drop table if exists "person_test"; [] +gorptest: 20:31:27.123148 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:27.123277 drop table if exists "id_created_test"; [] +gorptest: 20:31:27.123402 drop table if exists "type_conv_test"; [] +gorptest: 20:31:27.123767 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:27.123916 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:27.124077 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:27.124220 drop table if exists "time_test"; [] +gorptest: 20:31:27.124383 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:27.143164 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:27.153833 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:27.163094 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:27.172205 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:27.181622 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:27.202388 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:27.210759 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:27.219525 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:27.227086 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:27.235128 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:27.243594 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:27.254731 delete from invoice_test [] +gorptest: 20:31:27.277486 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] +gorptest: 20:31:27.285509 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] +gorptest: 20:31:27.285998 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:8674665223082153551 2:6129484611666145821 3:"random 5577006791947779410" 4:0 5:true 6:1] +gorptest: 20:31:27.293581 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] +gorptest: 20:31:27.294003 select * from invoice_test [] +gorptest: 20:31:27.294510 delete from "invoice_test" where "Id"=?; [1:1] +gorptest: 20:31:27.302173 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] +gorptest: 20:31:27.302519 delete from invoice_tag_test [] +gorptest: 20:31:27.328728 insert into "invoice_tag_test" ("myid","myCreated","date_updated","Memo","person_id","is_Paid") values (null,?,?,?,?,?); [1:300 2:400 3:"some order" 4:33 5:false] +gorptest: 20:31:27.379867 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] +gorptest: 20:31:27.380445 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:3916589616287113937 2:6334824724549167320 3:"random 4037200794235010051" 4:33 5:false 6:1] +gorptest: 20:31:27.408356 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] +gorptest: 20:31:27.409004 select * from invoice_tag_test [] +gorptest: 20:31:27.409515 delete from "invoice_tag_test" where "myid"=?; [1:1] +gorptest: 20:31:27.427747 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] +gorptest: 20:31:27.428147 delete from alias_trans_field_test [] +gorptest: 20:31:27.463983 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] +gorptest: 20:31:27.493696 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] +gorptest: 20:31:27.494184 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 605394647632969758" 2:1] +gorptest: 20:31:27.505394 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] +gorptest: 20:31:27.505827 select * from alias_trans_field_test [] +gorptest: 20:31:27.506160 delete from "alias_trans_field_test" where "id"=?; [1:1] +gorptest: 20:31:27.513578 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] +gorptest: 20:31:27.513902 drop table if exists "invoice_test"; [] +gorptest: 20:31:27.525795 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:27.539738 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:27.547810 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:27.555810 drop table if exists "person_test"; [] +gorptest: 20:31:27.564062 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:27.571383 drop table if exists "id_created_test"; [] +gorptest: 20:31:27.579990 drop table if exists "type_conv_test"; [] +gorptest: 20:31:27.587934 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:27.606279 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:27.614640 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:27.623301 drop table if exists "time_test"; [] +gorptest: 20:31:27.635522 drop table if exists "id_created_test"; [] +--- PASS: TestCrud (0.52s) === RUN TestWithIgnoredColumn -2023/06/06 18:25:29 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:29.485958 drop table if exists "invoice_test"; [] -gorptest: 18:25:29.486708 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:29.486800 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:29.486871 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:29.486936 drop table if exists "person_test"; [] -gorptest: 18:25:29.486999 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:29.487061 drop table if exists "id_created_test"; [] -gorptest: 18:25:29.487124 drop table if exists "type_conv_test"; [] -gorptest: 18:25:29.487201 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:29.487269 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:29.487336 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:29.487399 drop table if exists "time_test"; [] -gorptest: 18:25:29.487489 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:29.521053 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:29.541253 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:29.557336 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:29.597634 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:29.609614 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:29.629296 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:29.663675 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:29.685252 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:29.713670 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:29.729293 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:29.757678 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:29.789327 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] -gorptest: 18:25:29.841311 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] -gorptest: 18:25:29.841728 delete from "ignored_column_test" where "Id"=?; [1:1] -gorptest: 18:25:29.865287 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] -gorptest: 18:25:29.865609 drop table if exists "invoice_test"; [] -gorptest: 18:25:29.889251 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:29.909231 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:29.929259 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:29.953283 drop table if exists "person_test"; [] -gorptest: 18:25:29.989290 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:30.009268 drop table if exists "id_created_test"; [] -gorptest: 18:25:30.029215 drop table if exists "type_conv_test"; [] -gorptest: 18:25:30.049223 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:30.077228 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:30.101249 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:30.121243 drop table if exists "time_test"; [] -gorptest: 18:25:30.153242 drop table if exists "id_created_test"; [] ---- PASS: TestWithIgnoredColumn (0.67s) +2023/06/07 20:31:27 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:27.637112 drop table if exists "invoice_test"; [] +gorptest: 20:31:27.637928 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:27.638049 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:27.638171 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:27.638293 drop table if exists "person_test"; [] +gorptest: 20:31:27.638410 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:27.638526 drop table if exists "id_created_test"; [] +gorptest: 20:31:27.638641 drop table if exists "type_conv_test"; [] +gorptest: 20:31:27.638752 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:27.638864 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:27.638971 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:27.639075 drop table if exists "time_test"; [] +gorptest: 20:31:27.639214 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:27.651241 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:27.660537 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:27.669232 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:27.698306 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:27.715412 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:27.745177 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:27.777579 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:27.807138 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:27.826852 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:27.852910 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:27.880138 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:27.900040 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] +gorptest: 20:31:27.909037 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] +gorptest: 20:31:27.909888 delete from "ignored_column_test" where "Id"=?; [1:1] +gorptest: 20:31:27.923500 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] +gorptest: 20:31:27.924131 drop table if exists "invoice_test"; [] +gorptest: 20:31:27.954055 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:27.970641 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:27.997574 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:28.016923 drop table if exists "person_test"; [] +gorptest: 20:31:28.050443 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:28.066494 drop table if exists "id_created_test"; [] +gorptest: 20:31:28.091255 drop table if exists "type_conv_test"; [] +gorptest: 20:31:28.104731 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:28.130612 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:28.160633 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:28.206279 drop table if exists "time_test"; [] +gorptest: 20:31:28.223621 drop table if exists "id_created_test"; [] +--- PASS: TestWithIgnoredColumn (0.59s) === RUN TestTypeConversionExample -2023/06/06 18:25:30 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:30.153955 drop table if exists "invoice_test"; [] -gorptest: 18:25:30.154681 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:30.154770 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:30.154837 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:30.154901 drop table if exists "person_test"; [] -gorptest: 18:25:30.154964 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:30.155026 drop table if exists "id_created_test"; [] -gorptest: 18:25:30.155086 drop table if exists "type_conv_test"; [] -gorptest: 18:25:30.155147 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:30.155207 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:30.155270 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:30.155332 drop table if exists "time_test"; [] -gorptest: 18:25:30.155418 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:30.189265 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:30.209288 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:30.229419 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:30.269284 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:30.289265 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:30.329330 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:30.361318 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:30.385278 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:30.405279 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:30.429375 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:30.449323 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:30.485451 insert into "type_conv_test" ("Id","PersonJSON","Name") values (null,?,?); [1:"{\"Id\":0,\"Created\":0,\"Updated\":0,\"FName\":\"Bob\",\"LName\":\"Smith\",\"Version\":0}" 2:"hi"] -gorptest: 18:25:30.509285 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] -gorptest: 18:25:30.509775 update "type_conv_test" set "PersonJSON"=?, "Name"=? where "Id"=?; [1:"{\"Id\":0,\"Created\":0,\"Updated\":0,\"FName\":\"Jane\",\"LName\":\"Doe\",\"Version\":0}" 2:"hi2" 3:1] -gorptest: 18:25:30.537270 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] -gorptest: 18:25:30.537698 delete from "type_conv_test" where "Id"=?; [1:1] -gorptest: 18:25:30.561258 drop table if exists "invoice_test"; [] -gorptest: 18:25:30.585251 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:30.621249 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:30.645263 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:30.673287 drop table if exists "person_test"; [] -gorptest: 18:25:30.705351 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:30.737341 drop table if exists "id_created_test"; [] -gorptest: 18:25:30.753295 drop table if exists "type_conv_test"; [] -gorptest: 18:25:30.793284 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:30.821280 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:30.845276 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:30.877976 drop table if exists "time_test"; [] -gorptest: 18:25:30.897256 drop table if exists "id_created_test"; [] ---- PASS: TestTypeConversionExample (0.74s) +2023/06/07 20:31:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:28.224524 drop table if exists "invoice_test"; [] +gorptest: 20:31:28.225463 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:28.225579 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:28.225683 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:28.225780 drop table if exists "person_test"; [] +gorptest: 20:31:28.225913 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:28.226029 drop table if exists "id_created_test"; [] +gorptest: 20:31:28.226122 drop table if exists "type_conv_test"; [] +gorptest: 20:31:28.226218 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:28.226359 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:28.226480 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:28.226575 drop table if exists "time_test"; [] +gorptest: 20:31:28.226719 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:28.257447 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:28.286428 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:28.315198 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:28.356946 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:28.371989 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:28.397759 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:28.411715 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:28.438344 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:28.455759 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:28.509783 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:28.524822 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:28.554479 insert into "type_conv_test" ("Id","PersonJSON","Name") values (null,?,?); [1:"{\"Id\":0,\"Created\":0,\"Updated\":0,\"FName\":\"Bob\",\"LName\":\"Smith\",\"Version\":0}" 2:"hi"] +gorptest: 20:31:28.582476 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] +gorptest: 20:31:28.583033 update "type_conv_test" set "PersonJSON"=?, "Name"=? where "Id"=?; [1:"{\"Id\":0,\"Created\":0,\"Updated\":0,\"FName\":\"Jane\",\"LName\":\"Doe\",\"Version\":0}" 2:"hi2" 3:1] +gorptest: 20:31:28.611903 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] +gorptest: 20:31:28.612618 delete from "type_conv_test" where "Id"=?; [1:1] +gorptest: 20:31:28.651544 drop table if exists "invoice_test"; [] +gorptest: 20:31:28.678423 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:28.694813 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:28.722525 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:28.751572 drop table if exists "person_test"; [] +gorptest: 20:31:28.778858 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:28.792515 drop table if exists "id_created_test"; [] +gorptest: 20:31:28.819606 drop table if exists "type_conv_test"; [] +gorptest: 20:31:28.845183 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:28.860344 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:28.886179 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:28.902257 drop table if exists "time_test"; [] +gorptest: 20:31:28.928563 drop table if exists "id_created_test"; [] +--- PASS: TestTypeConversionExample (0.70s) === RUN TestWithEmbeddedStruct -2023/06/06 18:25:30 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:30.898962 drop table if exists "invoice_test"; [] -gorptest: 18:25:30.899799 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:30.899928 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:30.900054 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:30.900176 drop table if exists "person_test"; [] -gorptest: 18:25:30.900290 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:30.900409 drop table if exists "id_created_test"; [] -gorptest: 18:25:30.900524 drop table if exists "type_conv_test"; [] -gorptest: 18:25:30.900637 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:30.900791 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:30.901227 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:30.901371 drop table if exists "time_test"; [] -gorptest: 18:25:30.901508 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:30.933323 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:30.961314 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:30.989312 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:31.013299 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:31.037357 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:31.057313 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:31.077319 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:31.109317 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:31.161328 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:31.193279 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:31.210920 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:31.261379 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] -gorptest: 18:25:31.281363 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] -gorptest: 18:25:31.281822 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] -gorptest: 18:25:31.321325 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] -gorptest: 18:25:31.321750 select * from embedded_struct_test [] -gorptest: 18:25:31.322044 drop table if exists "invoice_test"; [] -gorptest: 18:25:31.341317 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:31.365272 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:31.389289 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:31.413314 drop table if exists "person_test"; [] -gorptest: 18:25:31.433288 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:31.465255 drop table if exists "id_created_test"; [] -gorptest: 18:25:31.489251 drop table if exists "type_conv_test"; [] -gorptest: 18:25:31.513251 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:31.533277 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:31.572492 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:31.597246 drop table if exists "time_test"; [] -gorptest: 18:25:31.629261 drop table if exists "id_created_test"; [] ---- PASS: TestWithEmbeddedStruct (0.73s) +2023/06/07 20:31:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:28.929376 drop table if exists "invoice_test"; [] +gorptest: 20:31:28.930134 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:28.930232 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:28.930317 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:28.930405 drop table if exists "person_test"; [] +gorptest: 20:31:28.930491 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:28.930576 drop table if exists "id_created_test"; [] +gorptest: 20:31:28.930659 drop table if exists "type_conv_test"; [] +gorptest: 20:31:28.930745 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:28.930828 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:28.930915 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:28.930999 drop table if exists "time_test"; [] +gorptest: 20:31:28.931111 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:28.948826 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:28.983387 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:29.012410 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:29.043295 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:29.060039 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:29.116486 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:29.143044 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:29.160163 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:29.167782 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:29.175677 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:29.196782 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:29.210279 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] +gorptest: 20:31:29.222357 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] +gorptest: 20:31:29.222840 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] +gorptest: 20:31:29.265509 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] +gorptest: 20:31:29.265997 select * from embedded_struct_test [] +gorptest: 20:31:29.266370 drop table if exists "invoice_test"; [] +gorptest: 20:31:29.287968 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:29.310348 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:29.321575 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:29.341030 drop table if exists "person_test"; [] +gorptest: 20:31:29.348723 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:29.356882 drop table if exists "id_created_test"; [] +gorptest: 20:31:29.371329 drop table if exists "type_conv_test"; [] +gorptest: 20:31:29.379390 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:29.387647 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:29.414123 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:29.442666 drop table if exists "time_test"; [] +gorptest: 20:31:29.474957 drop table if exists "id_created_test"; [] +--- PASS: TestWithEmbeddedStruct (0.55s) === RUN TestWithEmbeddedStructBeforeAutoincr -2023/06/06 18:25:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:31.629979 drop table if exists "invoice_test"; [] -gorptest: 18:25:31.630812 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:31.630939 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:31.631057 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:31.631178 drop table if exists "person_test"; [] -gorptest: 18:25:31.631296 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:31.631409 drop table if exists "id_created_test"; [] -gorptest: 18:25:31.631525 drop table if exists "type_conv_test"; [] -gorptest: 18:25:31.631645 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:31.631762 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:31.631879 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:31.631990 drop table if exists "time_test"; [] -gorptest: 18:25:31.632124 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:31.661296 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:31.685251 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:31.705587 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:31.740683 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:31.773295 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:31.809304 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:31.833305 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:31.853371 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:31.873328 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:31.893328 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:31.917086 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:31.937348 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] -gorptest: 18:25:31.957254 drop table if exists "invoice_test"; [] -gorptest: 18:25:31.981258 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:32.001265 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:32.021287 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:32.041306 drop table if exists "person_test"; [] -gorptest: 18:25:32.069250 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:32.091337 drop table if exists "id_created_test"; [] -gorptest: 18:25:32.113253 drop table if exists "type_conv_test"; [] -gorptest: 18:25:32.137260 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:32.157250 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:32.189335 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:32.221277 drop table if exists "time_test"; [] -gorptest: 18:25:32.245257 drop table if exists "id_created_test"; [] ---- PASS: TestWithEmbeddedStructBeforeAutoincr (0.62s) +2023/06/07 20:31:29 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:29.475867 drop table if exists "invoice_test"; [] +gorptest: 20:31:29.476688 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:29.476869 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:29.476991 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:29.477098 drop table if exists "person_test"; [] +gorptest: 20:31:29.477203 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:29.477301 drop table if exists "id_created_test"; [] +gorptest: 20:31:29.477409 drop table if exists "type_conv_test"; [] +gorptest: 20:31:29.477517 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:29.477633 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:29.477744 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:29.477858 drop table if exists "time_test"; [] +gorptest: 20:31:29.478000 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:29.515365 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:29.541989 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:29.578479 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:29.596551 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:29.622610 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:29.658103 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:29.698204 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:29.731911 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:29.764203 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:29.794886 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:29.839374 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:30.088865 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] +gorptest: 20:31:30.174988 drop table if exists "invoice_test"; [] +gorptest: 20:31:30.220358 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:30.231848 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:30.249972 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:30.274849 drop table if exists "person_test"; [] +gorptest: 20:31:30.285821 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:30.295743 drop table if exists "id_created_test"; [] +gorptest: 20:31:30.314945 drop table if exists "type_conv_test"; [] +gorptest: 20:31:30.325800 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:30.335201 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:30.344663 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:30.353250 drop table if exists "time_test"; [] +gorptest: 20:31:30.361325 drop table if exists "id_created_test"; [] +--- PASS: TestWithEmbeddedStructBeforeAutoincr (0.89s) === RUN TestWithEmbeddedAutoincr -2023/06/06 18:25:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:32.245975 drop table if exists "invoice_test"; [] -gorptest: 18:25:32.246827 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:32.246955 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:32.247074 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:32.247190 drop table if exists "person_test"; [] -gorptest: 18:25:32.247311 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:32.247426 drop table if exists "id_created_test"; [] -gorptest: 18:25:32.247540 drop table if exists "type_conv_test"; [] -gorptest: 18:25:32.247655 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:32.247772 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:32.247896 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:32.248013 drop table if exists "time_test"; [] -gorptest: 18:25:32.248154 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:32.290017 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:32.313266 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:32.337289 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:32.369301 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:32.389307 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:32.407324 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:32.433313 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:32.457254 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:32.473299 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:32.513307 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:32.537293 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:32.569361 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] -gorptest: 18:25:32.605300 drop table if exists "invoice_test"; [] -gorptest: 18:25:32.628094 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:32.652915 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:32.685307 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:32.713307 drop table if exists "person_test"; [] -gorptest: 18:25:32.741274 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:32.765297 drop table if exists "id_created_test"; [] -gorptest: 18:25:32.801258 drop table if exists "type_conv_test"; [] -gorptest: 18:25:32.829293 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:32.857256 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:32.881239 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:32.905322 drop table if exists "time_test"; [] -gorptest: 18:25:32.933225 drop table if exists "id_created_test"; [] ---- PASS: TestWithEmbeddedAutoincr (0.69s) +2023/06/07 20:31:30 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:30.362154 drop table if exists "invoice_test"; [] +gorptest: 20:31:30.362954 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:30.363078 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:30.363191 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:30.363302 drop table if exists "person_test"; [] +gorptest: 20:31:30.363412 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:30.363802 drop table if exists "id_created_test"; [] +gorptest: 20:31:30.363921 drop table if exists "type_conv_test"; [] +gorptest: 20:31:30.364038 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:30.364151 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:30.364360 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:30.364487 drop table if exists "time_test"; [] +gorptest: 20:31:30.364611 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:30.382682 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:30.399232 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:30.420012 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:30.428931 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:30.437139 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:30.447379 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:30.457025 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:30.478513 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:30.486912 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:30.496231 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:30.504669 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:30.524336 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] +gorptest: 20:31:30.538361 drop table if exists "invoice_test"; [] +gorptest: 20:31:30.557146 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:30.566799 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:30.577170 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:30.595959 drop table if exists "person_test"; [] +gorptest: 20:31:30.605085 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:30.618527 drop table if exists "id_created_test"; [] +gorptest: 20:31:30.626567 drop table if exists "type_conv_test"; [] +gorptest: 20:31:30.634880 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:30.646323 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:30.658795 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:30.667811 drop table if exists "time_test"; [] +gorptest: 20:31:30.675304 drop table if exists "id_created_test"; [] +--- PASS: TestWithEmbeddedAutoincr (0.31s) === RUN TestSelectVal -gorptest: 18:25:32.933847 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] -gorptest: 18:25:32.953371 insert into "TableWithNull" ("Id","Str","Int64","Float64","Bool","Bytes") values (?,?,?,?,?,?); [1:0 2:"abc" 3:78 4:32.2 5:true 6:[104 105]] -gorptest: 18:25:32.980513 select Int64 from TableWithNull where Str='abc' [] -gorptest: 18:25:32.980875 select count(*) from TableWithNull [] -gorptest: 18:25:32.981051 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] -gorptest: 18:25:32.981218 select Int64 from TableWithNull where Str='notfound' [] -gorptest: 18:25:32.981358 select Int64 from TableWithNull where Str='abc' [] -gorptest: 18:25:32.981500 select Float64 from TableWithNull where Str='abc' [] -gorptest: 18:25:32.981629 select min(Float64) from TableWithNull [] -gorptest: 18:25:32.981776 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] -gorptest: 18:25:32.981925 select Float64 from TableWithNull where Str='notfound' [] -gorptest: 18:25:32.982054 select Float64 from TableWithNull where Str='abc' [] -gorptest: 18:25:32.982238 select Str from TableWithNull where Int64=? [1:78] -gorptest: 18:25:32.982406 select Str from TableWithNull where Str='asdfasdf' [] -gorptest: 18:25:32.982526 select Str from TableWithNull where Int64=? [1:78] -gorptest: 18:25:32.982655 select Str from TableWithNull where Str='asdfasdf' [] -gorptest: 18:25:32.982858 select Int64 from TableWithNull where Str=? [1:"abc"] -gorptest: 18:25:32.983034 select Str from TableWithNull where Int64=? [1:78] -gorptest: 18:25:32.983189 drop table if exists "TableWithNull"; [] ---- PASS: TestSelectVal (0.11s) +gorptest: 20:31:30.676235 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] +gorptest: 20:31:30.684597 insert into "TableWithNull" ("Id","Str","Int64","Float64","Bool","Bytes") values (?,?,?,?,?,?); [1:0 2:"abc" 3:78 4:32.2 5:true 6:[104 105]] +gorptest: 20:31:30.692746 select Int64 from TableWithNull where Str='abc' [] +gorptest: 20:31:30.693116 select count(*) from TableWithNull [] +gorptest: 20:31:30.693345 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] +gorptest: 20:31:30.693594 select Int64 from TableWithNull where Str='notfound' [] +gorptest: 20:31:30.693808 select Int64 from TableWithNull where Str='abc' [] +gorptest: 20:31:30.694098 select Float64 from TableWithNull where Str='abc' [] +gorptest: 20:31:30.694313 select min(Float64) from TableWithNull [] +gorptest: 20:31:30.694542 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] +gorptest: 20:31:30.694797 select Float64 from TableWithNull where Str='notfound' [] +gorptest: 20:31:30.694998 select Float64 from TableWithNull where Str='abc' [] +gorptest: 20:31:30.695214 select Str from TableWithNull where Int64=? [1:78] +gorptest: 20:31:30.695474 select Str from TableWithNull where Str='asdfasdf' [] +gorptest: 20:31:30.695678 select Str from TableWithNull where Int64=? [1:78] +gorptest: 20:31:30.695891 select Str from TableWithNull where Str='asdfasdf' [] +gorptest: 20:31:30.696196 select Int64 from TableWithNull where Str=? [1:"abc"] +gorptest: 20:31:30.696436 select Str from TableWithNull where Int64=? [1:78] +gorptest: 20:31:30.696661 drop table if exists "TableWithNull"; [] +--- PASS: TestSelectVal (0.03s) === RUN TestVersionMultipleRows -2023/06/06 18:25:33 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:33.045754 drop table if exists "invoice_test"; [] -gorptest: 18:25:33.046601 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:33.046693 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:33.046765 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:33.046833 drop table if exists "person_test"; [] -gorptest: 18:25:33.046900 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:33.046965 drop table if exists "id_created_test"; [] -gorptest: 18:25:33.047072 drop table if exists "type_conv_test"; [] -gorptest: 18:25:33.047189 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:33.047280 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:33.047354 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:33.047421 drop table if exists "time_test"; [] -gorptest: 18:25:33.047520 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:33.081294 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:33.101320 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:33.129309 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:33.152127 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:33.181277 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:33.209277 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:33.233325 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:33.257295 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:33.281317 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:33.315546 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:33.337303 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:33.373411 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119133373333221 2:1686119133373333221 3:"Bob" 4:"Smith" 5:1] -gorptest: 18:25:33.397357 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119133397292732 2:1686119133397292732 3:"Jane" 4:"Smith" 5:1] -gorptest: 18:25:33.421309 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119133421248524 2:1686119133421248524 3:"Mike" 4:"Smith" 5:1] -gorptest: 18:25:33.445255 drop table if exists "invoice_test"; [] -gorptest: 18:25:33.469292 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:33.493281 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:33.533358 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:33.561263 drop table if exists "person_test"; [] -gorptest: 18:25:33.581261 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:33.601326 drop table if exists "id_created_test"; [] -gorptest: 18:25:33.621242 drop table if exists "type_conv_test"; [] -gorptest: 18:25:33.654010 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:33.679782 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:33.701334 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:33.721277 drop table if exists "time_test"; [] -gorptest: 18:25:33.741298 drop table if exists "id_created_test"; [] ---- PASS: TestVersionMultipleRows (0.70s) +2023/06/07 20:31:30 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:30.708081 drop table if exists "invoice_test"; [] +gorptest: 20:31:30.708980 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:30.709107 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:30.709217 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:30.709333 drop table if exists "person_test"; [] +gorptest: 20:31:30.709452 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:30.709563 drop table if exists "id_created_test"; [] +gorptest: 20:31:30.709671 drop table if exists "type_conv_test"; [] +gorptest: 20:31:30.709776 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:30.709881 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:30.709988 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:30.710090 drop table if exists "time_test"; [] +gorptest: 20:31:30.710226 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:30.739669 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:30.748830 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:30.760140 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:30.769223 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:30.780842 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:30.788933 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:30.811586 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:30.820684 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:30.828523 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:30.836218 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:30.844282 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:30.854646 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119490854572529 2:1686119490854572529 3:"Bob" 4:"Smith" 5:1] +gorptest: 20:31:30.872788 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119490872646742 2:1686119490872646742 3:"Jane" 4:"Smith" 5:1] +gorptest: 20:31:30.880678 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119490880622557 2:1686119490880622557 3:"Mike" 4:"Smith" 5:1] +gorptest: 20:31:30.888435 drop table if exists "invoice_test"; [] +gorptest: 20:31:30.896252 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:30.904076 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:30.911672 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:30.919879 drop table if exists "person_test"; [] +gorptest: 20:31:30.927896 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:30.947366 drop table if exists "id_created_test"; [] +gorptest: 20:31:30.955203 drop table if exists "type_conv_test"; [] +gorptest: 20:31:30.963028 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:30.970669 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:30.978841 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:30.986827 drop table if exists "time_test"; [] +gorptest: 20:31:30.994725 drop table if exists "id_created_test"; [] +--- PASS: TestVersionMultipleRows (0.29s) === RUN TestWithStringPk -gorptest: 18:25:33.741872 create table string_pk_test (Id varchar(255), Name varchar(255)); [] -gorptest: 18:25:33.769307 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] -gorptest: 18:25:33.793272 drop table if exists "string_pk_test"; [] ---- PASS: TestWithStringPk (0.08s) +gorptest: 20:31:30.995527 create table string_pk_test (Id varchar(255), Name varchar(255)); [] +gorptest: 20:31:31.004095 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] +gorptest: 20:31:31.023280 drop table if exists "string_pk_test"; [] +--- PASS: TestWithStringPk (0.04s) === RUN TestSqlExecutorInterfaceSelects --- PASS: TestSqlExecutorInterfaceSelects (0.00s) === RUN TestWithTimeSelect -2023/06/06 18:25:33 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:33.826248 drop table if exists "invoice_test"; [] -gorptest: 18:25:33.827026 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:33.827123 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:33.827200 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:33.827275 drop table if exists "person_test"; [] -gorptest: 18:25:33.827350 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:33.827424 drop table if exists "id_created_test"; [] -gorptest: 18:25:33.827499 drop table if exists "type_conv_test"; [] -gorptest: 18:25:33.827576 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:33.827647 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:33.827733 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:33.827813 drop table if exists "time_test"; [] -gorptest: 18:25:33.827920 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:33.853301 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:33.869280 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:33.889299 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:33.909309 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:33.929267 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:33.957358 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:33.977302 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:34.001368 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:34.017343 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:34.041295 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:34.065295 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:34.097367 insert into "time_test" ("Id","Time") values (null,?); [1:2023-06-07 05:54:34.097280892 +0000 UTC] -gorptest: 18:25:34.113339 insert into "time_test" ("Id","Time") values (null,?); [1:2023-06-07 05:55:35.097280892 +0000 UTC] -gorptest: 18:25:34.129314 SELECT id FROM time_test WHERE Time < ? [1:2023-06-07 05:55:34.097280892 +0000 UTC] -gorptest: 18:25:34.129702 drop table if exists "invoice_test"; [] -gorptest: 18:25:34.149272 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:34.165241 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:34.193360 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:34.224626 drop table if exists "person_test"; [] -gorptest: 18:25:34.249264 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:34.269259 drop table if exists "id_created_test"; [] -gorptest: 18:25:34.293243 drop table if exists "type_conv_test"; [] -gorptest: 18:25:34.325355 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:34.341274 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:34.357264 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:34.373230 drop table if exists "time_test"; [] -gorptest: 18:25:34.389240 drop table if exists "id_created_test"; [] ---- PASS: TestWithTimeSelect (0.56s) +2023/06/07 20:31:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:31.032192 drop table if exists "invoice_test"; [] +gorptest: 20:31:31.033046 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:31.033214 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:31.033354 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:31.033507 drop table if exists "person_test"; [] +gorptest: 20:31:31.033621 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:31.033779 drop table if exists "id_created_test"; [] +gorptest: 20:31:31.033888 drop table if exists "type_conv_test"; [] +gorptest: 20:31:31.034044 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:31.034181 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:31.034314 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:31.034447 drop table if exists "time_test"; [] +gorptest: 20:31:31.034602 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:31.042214 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:31.050211 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:31.057852 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:31.065574 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:31.073147 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:31.081041 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:31.101010 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:31.108736 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:31.116472 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:31.128141 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:31.137027 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:31.149916 insert into "time_test" ("Id","Time") values (null,?); [1:2023-06-07 06:00:31.149823266 +0000 UTC] +gorptest: 20:31:31.158788 insert into "time_test" ("Id","Time") values (null,?); [1:2023-06-07 06:01:32.149823266 +0000 UTC] +gorptest: 20:31:31.184970 SELECT id FROM time_test WHERE Time < ? [1:2023-06-07 06:01:31.149823266 +0000 UTC] +gorptest: 20:31:31.185475 drop table if exists "invoice_test"; [] +gorptest: 20:31:31.194599 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:31.202712 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:31.210986 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:31.218923 drop table if exists "person_test"; [] +gorptest: 20:31:31.226291 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:31.235174 drop table if exists "id_created_test"; [] +gorptest: 20:31:31.257901 drop table if exists "type_conv_test"; [] +gorptest: 20:31:31.280832 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:31.302261 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:31.313560 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:31.321234 drop table if exists "time_test"; [] +gorptest: 20:31:31.328409 drop table if exists "id_created_test"; [] +--- PASS: TestWithTimeSelect (0.30s) === RUN TestInvoicePersonView -2023/06/06 18:25:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:34.389961 drop table if exists "invoice_test"; [] -gorptest: 18:25:34.390688 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:34.390774 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:34.390842 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:34.390908 drop table if exists "person_test"; [] -gorptest: 18:25:34.390972 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:34.391033 drop table if exists "id_created_test"; [] -gorptest: 18:25:34.391094 drop table if exists "type_conv_test"; [] -gorptest: 18:25:34.391155 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:34.391230 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:34.391300 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:34.391365 drop table if exists "time_test"; [] -gorptest: 18:25:34.391456 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:34.413300 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:34.429527 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:34.457337 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:34.473289 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:34.489257 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:34.505271 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:34.533334 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:34.556783 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:34.573298 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:34.605310 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:34.625265 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:34.657373 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119134657282352 2:1686119134657282352 3:"bob" 4:"smith" 5:1] -gorptest: 18:25:34.673319 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] -gorptest: 18:25:34.688574 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] -gorptest: 18:25:34.689143 drop table if exists "invoice_test"; [] -gorptest: 18:25:34.709273 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:34.741303 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:34.759217 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:34.781310 drop table if exists "person_test"; [] -gorptest: 18:25:34.805319 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:34.821266 drop table if exists "id_created_test"; [] -gorptest: 18:25:34.837292 drop table if exists "type_conv_test"; [] -gorptest: 18:25:34.869310 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:34.936190 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:34.969301 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:34.989269 drop table if exists "time_test"; [] -gorptest: 18:25:35.005302 drop table if exists "id_created_test"; [] ---- PASS: TestInvoicePersonView (0.62s) +2023/06/07 20:31:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:31.329310 drop table if exists "invoice_test"; [] +gorptest: 20:31:31.330045 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:31.330186 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:31.330300 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:31.330437 drop table if exists "person_test"; [] +gorptest: 20:31:31.330579 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:31.330696 drop table if exists "id_created_test"; [] +gorptest: 20:31:31.330807 drop table if exists "type_conv_test"; [] +gorptest: 20:31:31.330953 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:31.331063 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:31.331202 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:31.331318 drop table if exists "time_test"; [] +gorptest: 20:31:31.331538 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:31.339256 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:31.356394 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:31.364230 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:31.372574 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:31.380337 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:31.388215 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:31.396162 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:31.407633 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:31.415552 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:31.438237 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:31.446221 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:31.454019 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119491453922818 2:1686119491453922818 3:"bob" 4:"smith" 5:1] +gorptest: 20:31:31.462103 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] +gorptest: 20:31:31.469802 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] +gorptest: 20:31:31.470328 drop table if exists "invoice_test"; [] +gorptest: 20:31:31.478936 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:31.488200 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:31.499245 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:31.515330 drop table if exists "person_test"; [] +gorptest: 20:31:31.523800 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:31.531740 drop table if exists "id_created_test"; [] +gorptest: 20:31:31.539784 drop table if exists "type_conv_test"; [] +gorptest: 20:31:31.548074 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:31.555498 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:31.563030 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:31.574429 drop table if exists "time_test"; [] +gorptest: 20:31:31.587697 drop table if exists "id_created_test"; [] +--- PASS: TestInvoicePersonView (0.26s) === RUN TestQuoteTableNames -2023/06/06 18:25:35 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:35.005992 drop table if exists "invoice_test"; [] -gorptest: 18:25:35.006721 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:35.006809 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:35.006878 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:35.006942 drop table if exists "person_test"; [] -gorptest: 18:25:35.007004 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:35.007067 drop table if exists "id_created_test"; [] -gorptest: 18:25:35.007130 drop table if exists "type_conv_test"; [] -gorptest: 18:25:35.007191 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:35.007254 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:35.007317 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:35.007379 drop table if exists "time_test"; [] -gorptest: 18:25:35.007467 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:35.029297 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:35.045351 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:35.061263 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:35.081309 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:35.097300 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:35.129289 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:35.145269 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:35.161282 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:35.177277 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:35.193305 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:35.209275 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] ---- PASS: TestQuoteTableNames (0.52s) +2023/06/07 20:31:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:31.588578 drop table if exists "invoice_test"; [] +gorptest: 20:31:31.589599 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:31.589855 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:31.589992 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:31.590075 drop table if exists "person_test"; [] +gorptest: 20:31:31.590178 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:31.590268 drop table if exists "id_created_test"; [] +gorptest: 20:31:31.590360 drop table if exists "type_conv_test"; [] +gorptest: 20:31:31.590500 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:31.590635 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:31.590752 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:31.590839 drop table if exists "time_test"; [] +gorptest: 20:31:31.590981 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:31.598570 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:31.605935 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:31.613586 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:31.621527 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:31.629141 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:31.636821 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:31.658476 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:31.666901 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:31.674928 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:31.682876 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:31.788104 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +--- PASS: TestQuoteTableNames (0.34s) === RUN TestSelectTooManyCols -2023/06/06 18:25:35 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:35.530104 drop table if exists "invoice_test"; [] -gorptest: 18:25:35.530930 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:35.531036 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:35.531126 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:35.531211 drop table if exists "person_test"; [] -gorptest: 18:25:35.531296 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:35.531377 drop table if exists "id_created_test"; [] -gorptest: 18:25:35.531465 drop table if exists "type_conv_test"; [] -gorptest: 18:25:35.531559 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:35.531659 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:35.531781 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:35.531899 drop table if exists "time_test"; [] -gorptest: 18:25:35.532036 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:35.561296 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:35.593300 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:35.613294 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:35.633291 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:35.649294 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:35.669307 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:35.689264 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:35.721313 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:35.741286 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:35.757263 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:35.773290 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:35.793359 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119135793281829 2:1686119135793281829 3:"bob" 4:"smith" 5:1] -gorptest: 18:25:35.811193 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119135811133953 2:1686119135811133953 3:"jane" 4:"doe" 5:1] -gorptest: 18:25:35.845327 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] -gorptest: 18:25:35.845747 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] -gorptest: 18:25:35.846051 select * from person_test where Id=? [1:1] -gorptest: 18:25:35.846374 select * from person_test order by fname asc [] -gorptest: 18:25:35.846755 drop table if exists "invoice_test"; [] -gorptest: 18:25:35.877266 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:35.901276 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:35.925363 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:35.953329 drop table if exists "person_test"; [] -gorptest: 18:25:35.973268 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:35.993258 drop table if exists "id_created_test"; [] -gorptest: 18:25:36.013251 drop table if exists "type_conv_test"; [] -gorptest: 18:25:36.033267 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:36.061264 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:36.081316 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:36.101262 drop table if exists "time_test"; [] -gorptest: 18:25:36.121342 drop table if exists "id_created_test"; [] ---- PASS: TestSelectTooManyCols (0.59s) +2023/06/07 20:31:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:31.932894 drop table if exists "invoice_test"; [] +gorptest: 20:31:31.933701 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:31.933869 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:31.934021 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:31.934172 drop table if exists "person_test"; [] +gorptest: 20:31:31.934321 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:31.934472 drop table if exists "id_created_test"; [] +gorptest: 20:31:31.934611 drop table if exists "type_conv_test"; [] +gorptest: 20:31:31.934751 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:31.934885 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:31.935010 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:31.935142 drop table if exists "time_test"; [] +gorptest: 20:31:31.935300 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:31.943573 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:31.951837 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:31.963668 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:31.989300 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:32.010665 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:32.019401 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:32.030004 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:32.044185 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:32.057574 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:32.067251 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:32.076211 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:32.091908 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119492091830867 2:1686119492091830867 3:"bob" 4:"smith" 5:1] +gorptest: 20:31:32.102123 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119492102062332 2:1686119492102062332 3:"jane" 4:"doe" 5:1] +gorptest: 20:31:32.122804 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] +gorptest: 20:31:32.123297 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] +gorptest: 20:31:32.123757 select * from person_test where Id=? [1:1] +gorptest: 20:31:32.124117 select * from person_test order by fname asc [] +gorptest: 20:31:32.124521 drop table if exists "invoice_test"; [] +gorptest: 20:31:32.133379 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:32.142316 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:32.150855 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:32.160297 drop table if exists "person_test"; [] +gorptest: 20:31:32.183788 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:32.192033 drop table if exists "id_created_test"; [] +gorptest: 20:31:32.199887 drop table if exists "type_conv_test"; [] +gorptest: 20:31:32.207930 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:32.215968 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:32.233240 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:32.244595 drop table if exists "time_test"; [] +gorptest: 20:31:32.267335 drop table if exists "id_created_test"; [] +--- PASS: TestSelectTooManyCols (0.34s) === RUN TestSelectSingleVal -2023/06/06 18:25:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:36.122083 drop table if exists "invoice_test"; [] -gorptest: 18:25:36.122922 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:36.123021 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:36.123100 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:36.123176 drop table if exists "person_test"; [] -gorptest: 18:25:36.123248 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:36.123315 drop table if exists "id_created_test"; [] -gorptest: 18:25:36.123382 drop table if exists "type_conv_test"; [] -gorptest: 18:25:36.123454 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:36.123525 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:36.123595 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:36.123665 drop table if exists "time_test"; [] -gorptest: 18:25:36.123757 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:36.145273 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:36.164914 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:36.189276 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:36.209297 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:36.225251 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:36.245259 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:36.265294 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:36.293284 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:36.317328 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:36.349287 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:36.373513 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:36.393345 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119136393264696 2:1686119136393264696 3:"bob" 4:"smith" 5:1] -gorptest: 18:25:36.413370 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] -gorptest: 18:25:36.413804 select * from person_test where Id=? [1:1] -gorptest: 18:25:36.414157 select FName from person_test where Id=? [1:1] -gorptest: 18:25:36.414367 select * from person_test where Id=? [1:1] -gorptest: 18:25:36.414647 select * from person_test where 2<1 AND Id=? [1:1] -gorptest: 18:25:36.414968 select * from person_test where Id=? [1:-2222] -gorptest: 18:25:36.415264 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119136415226734 2:1686119136415226734 3:"bob" 4:"smith" 5:1] -gorptest: 18:25:36.441260 select * from person_test where Fname='bob' [] -gorptest: 18:25:36.441778 select * from person_test where Id=-123 [] -gorptest: 18:25:36.441975 select * from person_test where Id=-123 [] -gorptest: 18:25:36.442179 select * from person_test where Id=-123 [] -gorptest: 18:25:36.442365 select * from person_test where Id=-123 [] -gorptest: 18:25:36.442532 drop table if exists "invoice_test"; [] -gorptest: 18:25:36.465275 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:36.497270 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:36.521252 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:36.537294 drop table if exists "person_test"; [] -gorptest: 18:25:36.557278 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:36.589257 drop table if exists "id_created_test"; [] -gorptest: 18:25:36.625287 drop table if exists "type_conv_test"; [] -gorptest: 18:25:36.657259 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:36.677594 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:36.697242 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:36.717263 drop table if exists "time_test"; [] -gorptest: 18:25:36.737297 drop table if exists "id_created_test"; [] ---- PASS: TestSelectSingleVal (0.62s) +2023/06/07 20:31:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:32.268224 drop table if exists "invoice_test"; [] +gorptest: 20:31:32.269100 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:32.269206 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:32.269291 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:32.269376 drop table if exists "person_test"; [] +gorptest: 20:31:32.269459 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:32.269537 drop table if exists "id_created_test"; [] +gorptest: 20:31:32.269618 drop table if exists "type_conv_test"; [] +gorptest: 20:31:32.269700 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:32.269780 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:32.269882 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:32.269992 drop table if exists "time_test"; [] +gorptest: 20:31:32.270148 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:32.282093 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:32.290774 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:32.298639 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:32.306677 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:32.314797 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:32.323237 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:32.331515 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:32.351539 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:32.359570 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:32.367629 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:32.375309 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:32.383489 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119492383389889 2:1686119492383389889 3:"bob" 4:"smith" 5:1] +gorptest: 20:31:32.391149 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] +gorptest: 20:31:32.391928 select * from person_test where Id=? [1:1] +gorptest: 20:31:32.392342 select FName from person_test where Id=? [1:1] +gorptest: 20:31:32.392593 select * from person_test where Id=? [1:1] +gorptest: 20:31:32.392970 select * from person_test where 2<1 AND Id=? [1:1] +gorptest: 20:31:32.393237 select * from person_test where Id=? [1:-2222] +gorptest: 20:31:32.393491 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1686119492393449630 2:1686119492393449630 3:"bob" 4:"smith" 5:1] +gorptest: 20:31:32.401393 select * from person_test where Fname='bob' [] +gorptest: 20:31:32.401921 select * from person_test where Id=-123 [] +gorptest: 20:31:32.402175 select * from person_test where Id=-123 [] +gorptest: 20:31:32.402418 select * from person_test where Id=-123 [] +gorptest: 20:31:32.402643 select * from person_test where Id=-123 [] +gorptest: 20:31:32.402911 drop table if exists "invoice_test"; [] +gorptest: 20:31:32.411348 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:32.430552 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:32.438556 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:32.446503 drop table if exists "person_test"; [] +gorptest: 20:31:32.454574 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:32.462044 drop table if exists "id_created_test"; [] +gorptest: 20:31:32.469732 drop table if exists "type_conv_test"; [] +gorptest: 20:31:32.477458 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:32.485082 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:32.503391 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:32.511197 drop table if exists "time_test"; [] +gorptest: 20:31:32.518784 drop table if exists "id_created_test"; [] +--- PASS: TestSelectSingleVal (0.25s) === RUN TestSelectAlias -2023/06/06 18:25:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:36.737954 drop table if exists "invoice_test"; [] -gorptest: 18:25:36.738681 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:36.738770 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:36.738837 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:36.738901 drop table if exists "person_test"; [] -gorptest: 18:25:36.738964 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:36.739024 drop table if exists "id_created_test"; [] -gorptest: 18:25:36.739085 drop table if exists "type_conv_test"; [] -gorptest: 18:25:36.739146 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:36.739218 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:36.739287 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:36.739352 drop table if exists "time_test"; [] -gorptest: 18:25:36.739439 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:36.773388 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:36.789317 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:36.813611 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:36.837298 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:36.857299 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:36.873632 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:36.917343 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:36.929321 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:36.941597 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:36.957635 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:36.977286 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:36.989294 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] -gorptest: 18:25:37.005241 select * from id_created_test where Id=1 [] -gorptest: 18:25:37.005631 SELECT *, 1 AS external FROM id_created_test [] -gorptest: 18:25:37.005905 drop table if exists "invoice_test"; [] -gorptest: 18:25:37.029016 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:37.049282 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:37.065307 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:37.090605 drop table if exists "person_test"; [] -gorptest: 18:25:37.121289 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:37.145534 drop table if exists "id_created_test"; [] -gorptest: 18:25:37.205311 drop table if exists "type_conv_test"; [] -gorptest: 18:25:37.221319 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:37.237296 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:37.257270 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:37.277331 drop table if exists "time_test"; [] -gorptest: 18:25:37.297292 drop table if exists "id_created_test"; [] ---- PASS: TestSelectAlias (0.56s) +2023/06/07 20:31:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:32.519977 drop table if exists "invoice_test"; [] +gorptest: 20:31:32.520903 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:32.521066 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:32.521176 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:32.521357 drop table if exists "person_test"; [] +gorptest: 20:31:32.521478 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:32.521700 drop table if exists "id_created_test"; [] +gorptest: 20:31:32.521856 drop table if exists "type_conv_test"; [] +gorptest: 20:31:32.522068 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:32.522225 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:32.522368 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:32.522497 drop table if exists "time_test"; [] +gorptest: 20:31:32.522644 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:32.530590 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:32.538790 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:32.546834 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:32.554839 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:32.573568 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:32.581788 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:32.589823 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:32.598207 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:32.606747 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:32.615024 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:32.622928 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:32.630873 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] +gorptest: 20:31:32.650371 select * from id_created_test where Id=1 [] +gorptest: 20:31:32.650818 SELECT *, 1 AS external FROM id_created_test [] +gorptest: 20:31:32.651252 drop table if exists "invoice_test"; [] +gorptest: 20:31:32.660573 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:32.668449 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:32.676193 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:32.684196 drop table if exists "person_test"; [] +gorptest: 20:31:32.692047 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:32.700227 drop table if exists "id_created_test"; [] +gorptest: 20:31:32.708372 drop table if exists "type_conv_test"; [] +gorptest: 20:31:32.725734 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:32.734019 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:32.741887 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:32.750007 drop table if exists "time_test"; [] +gorptest: 20:31:32.757589 drop table if exists "id_created_test"; [] +--- PASS: TestSelectAlias (0.24s) === RUN TestMysqlPanicIfDialectNotInitialized --- PASS: TestMysqlPanicIfDialectNotInitialized (0.00s) === RUN TestSingleColumnKeyDbReturnsZeroRowsUpdatedOnPKChange -2023/06/06 18:25:37 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:37.298089 drop table if exists "invoice_test"; [] -gorptest: 18:25:37.298823 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:37.298912 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:37.298981 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:37.299044 drop table if exists "person_test"; [] -gorptest: 18:25:37.299107 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:37.299169 drop table if exists "id_created_test"; [] -gorptest: 18:25:37.299229 drop table if exists "type_conv_test"; [] -gorptest: 18:25:37.299290 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:37.299351 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:37.299414 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:37.299475 drop table if exists "time_test"; [] -gorptest: 18:25:37.299561 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:37.325328 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:37.357286 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:37.381302 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:37.405312 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:37.425276 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:37.441273 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:37.461330 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:37.497314 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:37.513358 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:37.561748 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:37.577573 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:37.593891 drop table if exists "invoice_test"; [] -gorptest: 18:25:37.625276 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:37.641772 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:37.657645 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:37.677616 drop table if exists "person_test"; [] -gorptest: 18:25:37.689630 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:37.701983 drop table if exists "id_created_test"; [] -gorptest: 18:25:37.745484 drop table if exists "type_conv_test"; [] -gorptest: 18:25:37.781286 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:37.793298 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:37.801687 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:37.813676 drop table if exists "time_test"; [] -gorptest: 18:25:37.837698 drop table if exists "id_created_test"; [] -gorptest: 18:25:37.837982 drop table if exists "single_column_table"; [] -gorptest: 18:25:37.838205 create table if not exists "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:37.865751 create table if not exists "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:37.909631 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:37.921333 create table if not exists "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:37.937337 create table if not exists "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:37.952379 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:37.993360 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:38.041297 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:38.065328 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:38.076595 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:38.093652 create table if not exists "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:38.113310 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:38.125629 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] -gorptest: 18:25:38.125858 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] -gorptest: 18:25:38.157630 delete from "invoice_test"; [] -gorptest: 18:25:38.177727 delete from "invoice_tag_test"; [] -gorptest: 18:25:38.193766 delete from "alias_trans_field_test"; [] -gorptest: 18:25:38.215668 delete from "invoice_override_test"; [] -gorptest: 18:25:38.229255 delete from "person_test"; [] -gorptest: 18:25:38.245680 delete from "ignored_column_test"; [] -gorptest: 18:25:38.277747 delete from "id_created_test"; [] -gorptest: 18:25:38.289506 delete from "type_conv_test"; [] -gorptest: 18:25:38.301599 delete from "embedded_struct_test"; [] -gorptest: 18:25:38.313636 delete from "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:38.325622 delete from "embedded_autoincr_test"; [] -gorptest: 18:25:38.333681 delete from "time_test"; [] -gorptest: 18:25:38.353281 delete from "id_created_test"; [] -gorptest: 18:25:38.401687 delete from "single_column_table"; [] -gorptest: 18:25:38.417288 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] -gorptest: 18:25:38.417632 drop table if exists "invoice_test"; [] -gorptest: 18:25:38.436202 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:38.457280 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:38.477324 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:38.505304 drop table if exists "person_test"; [] -gorptest: 18:25:38.541296 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:38.561266 drop table if exists "id_created_test"; [] -gorptest: 18:25:38.585269 drop table if exists "type_conv_test"; [] -gorptest: 18:25:38.605262 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:38.629278 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:38.650820 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:38.681291 drop table if exists "time_test"; [] -gorptest: 18:25:38.705303 drop table if exists "id_created_test"; [] -gorptest: 18:25:38.705522 drop table if exists "single_column_table"; [] ---- PASS: TestSingleColumnKeyDbReturnsZeroRowsUpdatedOnPKChange (1.43s) +2023/06/07 20:31:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:32.758567 drop table if exists "invoice_test"; [] +gorptest: 20:31:32.759303 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:32.759484 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:32.759601 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:32.759744 drop table if exists "person_test"; [] +gorptest: 20:31:32.759903 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:32.760063 drop table if exists "id_created_test"; [] +gorptest: 20:31:32.760174 drop table if exists "type_conv_test"; [] +gorptest: 20:31:32.760336 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:32.760449 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:32.760634 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:32.760799 drop table if exists "time_test"; [] +gorptest: 20:31:32.760972 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:32.768521 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:32.783950 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:32.792520 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:32.810793 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:32.819160 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:32.827348 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:32.835179 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:32.842925 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:32.851100 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:32.859769 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:32.868598 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:32.887034 drop table if exists "invoice_test"; [] +gorptest: 20:31:32.894841 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:32.902808 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:32.910695 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:32.918789 drop table if exists "person_test"; [] +gorptest: 20:31:32.926405 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:32.934249 drop table if exists "id_created_test"; [] +gorptest: 20:31:32.942101 drop table if exists "type_conv_test"; [] +gorptest: 20:31:32.960927 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:32.968948 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:32.979706 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:32.987340 drop table if exists "time_test"; [] +gorptest: 20:31:32.994835 drop table if exists "id_created_test"; [] +gorptest: 20:31:32.995149 drop table if exists "single_column_table"; [] +gorptest: 20:31:32.995346 create table if not exists "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:33.003105 create table if not exists "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:33.010919 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:33.029781 create table if not exists "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:33.037855 create table if not exists "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:33.045808 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:33.053500 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:33.061249 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:33.068897 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:33.076606 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:33.084268 create table if not exists "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:33.105118 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:33.112907 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] +gorptest: 20:31:33.113172 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] +gorptest: 20:31:33.122910 delete from "invoice_test"; [] +gorptest: 20:31:33.133444 delete from "invoice_tag_test"; [] +gorptest: 20:31:33.140617 delete from "alias_trans_field_test"; [] +gorptest: 20:31:33.147736 delete from "invoice_override_test"; [] +gorptest: 20:31:33.154703 delete from "person_test"; [] +gorptest: 20:31:33.161343 delete from "ignored_column_test"; [] +gorptest: 20:31:33.183299 delete from "id_created_test"; [] +gorptest: 20:31:33.190649 delete from "type_conv_test"; [] +gorptest: 20:31:33.197377 delete from "embedded_struct_test"; [] +gorptest: 20:31:33.204404 delete from "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:33.211331 delete from "embedded_autoincr_test"; [] +gorptest: 20:31:33.218828 delete from "time_test"; [] +gorptest: 20:31:33.225897 delete from "id_created_test"; [] +gorptest: 20:31:33.236888 delete from "single_column_table"; [] +gorptest: 20:31:33.250764 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] +gorptest: 20:31:33.251130 drop table if exists "invoice_test"; [] +gorptest: 20:31:33.258525 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:33.266069 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:33.273694 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:33.281496 drop table if exists "person_test"; [] +gorptest: 20:31:33.288688 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:33.296882 drop table if exists "id_created_test"; [] +gorptest: 20:31:33.312256 drop table if exists "type_conv_test"; [] +gorptest: 20:31:33.326725 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:33.334737 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:33.342586 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:33.350682 drop table if exists "time_test"; [] +gorptest: 20:31:33.358399 drop table if exists "id_created_test"; [] +gorptest: 20:31:33.358687 drop table if exists "single_column_table"; [] +--- PASS: TestSingleColumnKeyDbReturnsZeroRowsUpdatedOnPKChange (0.61s) === RUN TestPrepare -2023/06/06 18:25:38 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 -gorptest: 18:25:38.726642 drop table if exists "invoice_test"; [] -gorptest: 18:25:38.727519 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:38.727641 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:38.727750 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:38.727856 drop table if exists "person_test"; [] -gorptest: 18:25:38.727955 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:38.728048 drop table if exists "id_created_test"; [] -gorptest: 18:25:38.728145 drop table if exists "type_conv_test"; [] -gorptest: 18:25:38.728251 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:38.728357 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:38.728461 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:38.728570 drop table if exists "time_test"; [] -gorptest: 18:25:38.728704 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:38.765459 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] -gorptest: 18:25:38.805294 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] -gorptest: 18:25:38.841358 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] -gorptest: 18:25:38.872264 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] -gorptest: 18:25:38.885606 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:38.945134 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] -gorptest: 18:25:38.965288 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] -gorptest: 18:25:38.985279 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] -gorptest: 18:25:39.013002 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] -gorptest: 18:25:39.033274 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] -gorptest: 18:25:39.053300 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] -gorptest: 18:25:39.073445 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] -gorptest: 18:25:39.087827 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] -gorptest: 18:25:39.117323 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] -gorptest: 18:25:39.149274 SELECT * from invoice_test WHERE Memo='prepare-baz' [] -gorptest: 18:25:39.149773 begin; [] -gorptest: 18:25:39.149875 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] -gorptest: 18:25:39.150326 SELECT * from invoice_test WHERE IsPaid=? [1:true] -gorptest: 18:25:39.151374 SELECT * from invoice_test WHERE IsPaid=? [1:true] -gorptest: 18:25:39.151610 commit; [] -gorptest: 18:25:39.177548 SELECT * from invoice_test WHERE IsPaid=? [1:true] -gorptest: 18:25:39.178063 drop table if exists "invoice_test"; [] -gorptest: 18:25:39.197259 drop table if exists "invoice_tag_test"; [] -gorptest: 18:25:39.225295 drop table if exists "alias_trans_field_test"; [] -gorptest: 18:25:39.249296 drop table if exists "invoice_override_test"; [] -gorptest: 18:25:39.293304 drop table if exists "person_test"; [] -gorptest: 18:25:39.329535 drop table if exists "ignored_column_test"; [] -gorptest: 18:25:39.347908 drop table if exists "id_created_test"; [] -gorptest: 18:25:39.369279 drop table if exists "type_conv_test"; [] -gorptest: 18:25:39.409384 drop table if exists "embedded_struct_test"; [] -gorptest: 18:25:39.429489 drop table if exists "embedded_struct_before_autoincr_test"; [] -gorptest: 18:25:39.460974 drop table if exists "embedded_autoincr_test"; [] -gorptest: 18:25:39.476207 drop table if exists "time_test"; [] -gorptest: 18:25:39.505519 drop table if exists "id_created_test"; [] ---- PASS: TestPrepare (0.78s) +2023/06/07 20:31:33 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 +gorptest: 20:31:33.367798 drop table if exists "invoice_test"; [] +gorptest: 20:31:33.368618 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:33.368826 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:33.368952 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:33.369070 drop table if exists "person_test"; [] +gorptest: 20:31:33.369177 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:33.369270 drop table if exists "id_created_test"; [] +gorptest: 20:31:33.369367 drop table if exists "type_conv_test"; [] +gorptest: 20:31:33.369485 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:33.369602 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:33.369705 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:33.369810 drop table if exists "time_test"; [] +gorptest: 20:31:33.369961 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:33.382211 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] +gorptest: 20:31:33.400485 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] +gorptest: 20:31:33.408979 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] +gorptest: 20:31:33.422529 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] +gorptest: 20:31:33.430555 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:33.438385 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] +gorptest: 20:31:33.450850 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] +gorptest: 20:31:33.459270 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] +gorptest: 20:31:33.468606 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] +gorptest: 20:31:33.486964 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] +gorptest: 20:31:33.497132 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] +gorptest: 20:31:33.506328 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] +gorptest: 20:31:33.514526 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] +gorptest: 20:31:33.523639 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] +gorptest: 20:31:33.534608 SELECT * from invoice_test WHERE Memo='prepare-baz' [] +gorptest: 20:31:33.535505 begin; [] +gorptest: 20:31:33.535675 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] +gorptest: 20:31:33.536164 SELECT * from invoice_test WHERE IsPaid=? [1:true] +gorptest: 20:31:33.537792 SELECT * from invoice_test WHERE IsPaid=? [1:true] +gorptest: 20:31:33.538178 commit; [] +gorptest: 20:31:33.544950 SELECT * from invoice_test WHERE IsPaid=? [1:true] +gorptest: 20:31:33.545512 drop table if exists "invoice_test"; [] +gorptest: 20:31:33.552722 drop table if exists "invoice_tag_test"; [] +gorptest: 20:31:33.571014 drop table if exists "alias_trans_field_test"; [] +gorptest: 20:31:33.578989 drop table if exists "invoice_override_test"; [] +gorptest: 20:31:33.586779 drop table if exists "person_test"; [] +gorptest: 20:31:33.594282 drop table if exists "ignored_column_test"; [] +gorptest: 20:31:33.601828 drop table if exists "id_created_test"; [] +gorptest: 20:31:33.609218 drop table if exists "type_conv_test"; [] +gorptest: 20:31:33.617014 drop table if exists "embedded_struct_test"; [] +gorptest: 20:31:33.624574 drop table if exists "embedded_struct_before_autoincr_test"; [] +gorptest: 20:31:33.643844 drop table if exists "embedded_autoincr_test"; [] +gorptest: 20:31:33.651640 drop table if exists "time_test"; [] +gorptest: 20:31:33.659254 drop table if exists "id_created_test"; [] +--- PASS: TestPrepare (0.29s) PASS -ok gopkg.in/gorp.v1 18.326s +ok gopkg.in/gorp.v1 35.296s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1890,12 +1933,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/29263/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/29263/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/20604 and its subdirectories -I: Current time: Tue Jun 6 18:26:12 -12 2023 -I: pbuilder-time-stamp: 1686119172 +I: removing directory /srv/workspace/pbuilder/29263 and its subdirectories +I: Current time: Wed Jun 7 20:31:45 +14 2023 +I: pbuilder-time-stamp: 1686119505