Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1674171774.902485/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gff_hxu2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gff_hxu2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5bbea74885e24e3da375b9b6574682ff', '-D', '/var/lib/mock/fedora-rawhide-s390x-1674171774.902485/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gff_hxu2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/golang-gopkg-gorp-1-1.7.2-4.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1674171774.902485/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gff_hxu2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gff_hxu2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0c9624e05ae04e2bbb960236887ca2e4', '-D', '/var/lib/mock/fedora-rawhide-s390x-1674171774.902485/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gff_hxu2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hNAIBV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gorp-1.7.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gorp-1.7.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gorp-1.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/gorp-1.7.2/vendor + [[ ! -e /builddir/build/BUILD/gorp-1.7.2/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/gorp-1.7.2/_build/bin install: creating directory '/builddir/build/BUILD/gorp-1.7.2/_build' install: creating directory '/builddir/build/BUILD/gorp-1.7.2/_build/bin' + export GOPATH=/builddir/build/BUILD/gorp-1.7.2/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/gorp-1.7.2/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 ]] ++ dirname /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + install -m 0755 -vd /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in install: creating directory '/builddir/build/BUILD/gorp-1.7.2/_build/src' install: creating directory '/builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in' + ln -fs /builddir/build/BUILD/gorp-1.7.2 /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + cd /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gorp-1-fix-format-string.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZXDCHl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x ++ dirname /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x + cd gorp-1.7.2 + cd /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i gopkg.in/gorp.v1 -b /builddir/build/BUILD/gorp-1.7.2/_build/bin -s /builddir/build/BUILD/gorp-1.7.2/_build -o golang-gopkg-gorp-1-devel.file-list -O /builddir/build/BUILD/gorp-1.7.2 -V 1.7.2-4.fc38 -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x -g /usr/share/gocode -r '.*example.*' Installing: gopkg.in/gorp.v1 realpath: go.mod: No such file or directory + IFS= +++ realpath -e --relative-base=. CONTRIBUTING.md README.md +++ sort -u realpath: CONTRIBUTING.md: No such file or directory ++ listfiles_include=README.md ++ echo README.md + godocs=README.md + [[ -n README.md ]] + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE +++ sort -u ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + install -m 0755 -d /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x/usr/share/gocode/src/github.com/go-gorp/gorp + ln -rs /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x/usr/share/gocode/src/gopkg.in/gorp.v1 /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x/usr/share/gocode/src/github.com/go-gorp/gorp/v1 + echo /usr/share/gocode/src/github.com/go-gorp/gorp/v1 + echo '%dir "/usr/share/gocode/src/github.com/go-gorp/gorp"' + echo '%dir "/usr/share/gocode/src/github.com/go-gorp"' + echo '%dir "/usr/share/gocode/src/github.com"' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.DOh0Fq + umask 022 + cd /builddir/build/BUILD + cd gorp-1.7.2 + export GORP_TEST_DSN=gorptest.bin + GORP_TEST_DSN=gorptest.bin + export GORP_TEST_DIALECT=sqlite + GORP_TEST_DIALECT=sqlite + LDFLAGS=' -X gopkg.in/gorp.v1/version=1.7.2' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + go-rpm-integration check -i gopkg.in/gorp.v1 -b /builddir/build/BUILD/gorp-1.7.2/_build/bin -s /builddir/build/BUILD/gorp-1.7.2/_build -V 1.7.2-4.fc38 -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/gorp-1.7.2/_build/src PATH: /builddir/build/BUILD/gorp-1.7.2/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/gorp-1.7.2/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X gopkg.in/gorp.v1/version=1.7.2 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '" testing: gopkg.in/gorp.v1 gopkg.in/gorp.v1 2023/01/19 23:46:08 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: 23:46:08.976567 drop table if exists "invoice_test"; [] gorptest: 23:46:08.976761 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:08.976773 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:08.976783 drop table if exists "invoice_override_test"; [] gorptest: 23:46:08.976793 drop table if exists "person_test"; [] gorptest: 23:46:08.976802 drop table if exists "ignored_column_test"; [] gorptest: 23:46:08.976812 drop table if exists "id_created_test"; [] gorptest: 23:46:08.976824 drop table if exists "type_conv_test"; [] gorptest: 23:46:08.976833 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:08.976843 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:08.976854 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:08.976863 drop table if exists "time_test"; [] gorptest: 23:46:08.976884 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:08.977018 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: 23:46:08.977093 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:08.977161 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:08.977243 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:08.977311 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:08.977375 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:08.977439 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:08.977509 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:08.977576 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:08.977648 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:08.977712 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:08.977781 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: 23:46:08.977800 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: 23:46:08.977814 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:08.977833 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: 23:46:08.977850 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: 23:46:08.977863 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:08.977875 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:08.977893 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:08.977907 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:08.977920 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:08.977937 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: 23:46:08.977953 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:08.977966 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 23:46:08.977977 drop table if exists "invoice_test"; [] gorptest: 23:46:08.978061 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:08.978118 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:08.978172 drop table if exists "invoice_override_test"; [] gorptest: 23:46:08.978269 drop table if exists "person_test"; [] gorptest: 23:46:08.978324 drop table if exists "ignored_column_test"; [] gorptest: 23:46:08.978378 drop table if exists "id_created_test"; [] gorptest: 23:46:08.978430 drop table if exists "type_conv_test"; [] gorptest: 23:46:08.978483 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:08.978534 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:08.978586 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:08.978637 drop table if exists "time_test"; [] gorptest: 23:46:08.978690 drop table if exists "id_created_test"; [] 2023/01/19 23:46:08 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: 23:46:08.978779 drop table if exists "invoice_test"; [] gorptest: 23:46:08.978860 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:08.979450 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:08.979546 drop table if exists "invoice_override_test"; [] gorptest: 23:46:08.979628 drop table if exists "person_test"; [] gorptest: 23:46:08.979709 drop table if exists "ignored_column_test"; [] gorptest: 23:46:08.979788 drop table if exists "id_created_test"; [] gorptest: 23:46:08.979866 drop table if exists "type_conv_test"; [] gorptest: 23:46:08.979945 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:08.980025 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:08.980106 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:08.980184 drop table if exists "time_test"; [] gorptest: 23:46:08.980269 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:08.980470 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: 23:46:08.980650 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:08.980812 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:08.980983 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:08.981145 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:08.981300 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:08.981451 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:08.981603 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:08.981768 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:08.981927 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:08.982086 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:08.982243 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: 23:46:08.982340 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: 23:46:08.982428 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:08.982515 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: 23:46:08.982601 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: 23:46:08.982684 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:08.982787 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:08.982880 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:08.982971 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:08.983072 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:08.983177 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: 23:46:08.983279 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:08.983372 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 23:46:08.984324 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171968984310892 2:1674171968984310892 3:"Bob" 4:"Smith" 5:1] gorptest: 23:46:08.984482 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 23:46:08.984538 delete from "invoice_test"; [] gorptest: 23:46:08.984686 delete from "invoice_tag_test"; [] gorptest: 23:46:08.984722 delete from "alias_trans_field_test"; [] gorptest: 23:46:08.984764 delete from "invoice_override_test"; [] gorptest: 23:46:08.984935 delete from "person_test"; [] gorptest: 23:46:08.984988 delete from "ignored_column_test"; [] gorptest: 23:46:08.985020 delete from "id_created_test"; [] gorptest: 23:46:08.985055 delete from "type_conv_test"; [] gorptest: 23:46:08.985086 delete from "embedded_struct_test"; [] gorptest: 23:46:08.985312 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:08.985350 delete from "embedded_autoincr_test"; [] gorptest: 23:46:08.985381 delete from "time_test"; [] gorptest: 23:46:08.985415 delete from "id_created_test"; [] gorptest: 23:46:08.985446 SELECT * FROM person_test [] gorptest: 23:46:08.985670 SELECT * FROM invoice_test [] gorptest: 23:46:08.985704 drop table if exists "invoice_test"; [] gorptest: 23:46:08.985777 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:08.985836 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:08.985888 drop table if exists "invoice_override_test"; [] gorptest: 23:46:08.986187 drop table if exists "person_test"; [] gorptest: 23:46:08.986257 drop table if exists "ignored_column_test"; [] gorptest: 23:46:08.986318 drop table if exists "id_created_test"; [] gorptest: 23:46:08.986372 drop table if exists "type_conv_test"; [] gorptest: 23:46:08.986598 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:08.986659 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:08.986713 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:08.986906 drop table if exists "time_test"; [] gorptest: 23:46:08.986967 drop table if exists "id_created_test"; [] gorptest: 23:46:08.987041 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 23:46:08.987364 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2023-01-19 23:46:08 +0000 UTC] gorptest: 23:46:08.987508 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 23:46:08.987543 drop table if exists "WithCustomDate"; [] gorptest: 23:46:08.987770 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 23:46:08.988012 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 23:46:08.988176 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 23:46:08.988335 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 23:46:08.988475 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 23:46:08.988531 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 23:46:08.988573 drop table if exists "PersonUInt64"; [] gorptest: 23:46:08.988754 drop table if exists "PersonUInt32"; [] gorptest: 23:46:08.988921 drop table if exists "PersonUInt16"; [] gorptest: 23:46:08.989028 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 23:46:08.989348 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 23:46:08.989496 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 23:46:08.989616 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 23:46:08.989641 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 23:46:08.989693 drop table if exists "UniqueColumns"; [] gorptest: 23:46:08.990015 drop table if exists PersistentUser [] gorptest: 23:46:08.990207 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 23:46:08.990398 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 23:46:08.990539 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 23:46:08.990570 select * from PersistentUser [] gorptest: 23:46:08.990599 select * from PersistentUser [] gorptest: 23:46:08.990769 select * from PersistentUser [] gorptest: 23:46:08.990802 select Id from PersistentUser [] gorptest: 23:46:08.990823 select mykey from PersistentUser [] gorptest: 23:46:08.990838 select PassedTraining from PersistentUser [] gorptest: 23:46:08.990853 select Id from PersistentUser [] gorptest: 23:46:08.990868 drop table if exists "PersistentUser"; [] gorptest: 23:46:08.991182 drop table if exists PersistentUser [] gorptest: 23:46:08.991293 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 23:46:08.991377 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 23:46:08.991578 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 23:46:08.991649 select * from PersistentUser where mykey = ? [1:43] gorptest: 23:46:08.991687 select * from PersistentUser where mykey = ? [1:43] gorptest: 23:46:08.991724 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 23:46:08.992039 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 23:46:08.992069 drop table if exists "PersistentUser"; [] gorptest: 23:46:08.992167 drop table if exists PersistentUser [] gorptest: 23:46:08.992276 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 23:46:08.992357 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 23:46:08.992684 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 23:46:08.992738 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 23:46:08.992773 drop table if exists "PersistentUser"; [] 2023/01/19 23:46:08 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: 23:46:08.992921 drop table if exists "invoice_test"; [] gorptest: 23:46:08.993004 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:08.993015 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:08.993391 drop table if exists "invoice_override_test"; [] gorptest: 23:46:08.993406 drop table if exists "person_test"; [] gorptest: 23:46:08.993422 drop table if exists "ignored_column_test"; [] gorptest: 23:46:08.993432 drop table if exists "id_created_test"; [] gorptest: 23:46:08.993442 drop table if exists "type_conv_test"; [] gorptest: 23:46:08.993455 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:08.993465 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:08.993475 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:08.993485 drop table if exists "time_test"; [] gorptest: 23:46:08.993502 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:08.993593 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: 23:46:08.993668 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:08.993739 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:08.993828 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:08.994332 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:08.994406 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:08.994476 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:08.994546 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:08.994620 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:08.994693 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:08.994760 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:08.994825 select * from invoice_test where id=99999 [] gorptest: 23:46:08.994868 select * from invoice_test where id=99999 [] gorptest: 23:46:08.994904 drop table if exists "invoice_test"; [] gorptest: 23:46:08.995735 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:08.995798 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:08.995850 drop table if exists "invoice_override_test"; [] gorptest: 23:46:08.995947 drop table if exists "person_test"; [] gorptest: 23:46:08.996005 drop table if exists "ignored_column_test"; [] gorptest: 23:46:08.996070 drop table if exists "id_created_test"; [] gorptest: 23:46:08.996125 drop table if exists "type_conv_test"; [] gorptest: 23:46:08.996178 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:08.996235 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:08.996293 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:08.996353 drop table if exists "time_test"; [] gorptest: 23:46:08.996407 drop table if exists "id_created_test"; [] gorptest: 23:46:08.996465 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 23:46:08.996651 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: 23:46:08.996697 drop table if exists "InvoicePersonView"; [] 2023/01/19 23:46:08 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: 23:46:08.996865 drop table if exists "invoice_test"; [] gorptest: 23:46:08.996949 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:08.996960 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:08.996969 drop table if exists "invoice_override_test"; [] gorptest: 23:46:08.996983 drop table if exists "person_test"; [] gorptest: 23:46:08.996992 drop table if exists "ignored_column_test"; [] gorptest: 23:46:08.997002 drop table if exists "id_created_test"; [] gorptest: 23:46:08.997011 drop table if exists "type_conv_test"; [] gorptest: 23:46:08.997020 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:08.997047 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:08.997057 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:08.997067 drop table if exists "time_test"; [] gorptest: 23:46:08.997081 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:08.997163 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: 23:46:08.997239 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:08.997308 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:08.997393 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:08.997464 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:08.997528 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:08.997597 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:08.997682 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:08.997751 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:08.997819 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:08.997887 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:08.997963 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171968997951587 2:1674171968997951587 3:"Bob" 4:"Smith" 5:1] gorptest: 23:46:08.998019 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:46:08.998067 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674171968997951587 2:1674171968997951587 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 23:46:08.998123 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674171968997951587 2:1674171968997951587 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 23:46:08.998145 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:46:08.998179 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 23:46:08.998197 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:46:08.998221 drop table if exists "invoice_test"; [] gorptest: 23:46:08.998282 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:08.998349 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:08.998411 drop table if exists "invoice_override_test"; [] gorptest: 23:46:08.998503 drop table if exists "person_test"; [] gorptest: 23:46:08.998564 drop table if exists "ignored_column_test"; [] gorptest: 23:46:08.998619 drop table if exists "id_created_test"; [] gorptest: 23:46:08.998672 drop table if exists "type_conv_test"; [] gorptest: 23:46:08.998721 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:08.998773 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:08.998826 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:08.998878 drop table if exists "time_test"; [] gorptest: 23:46:08.998932 drop table if exists "id_created_test"; [] gorptest: 23:46:08.999007 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 23:46:08.999176 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 23:46:08.999220 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 23:46:08.999292 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: 23:46:08.999342 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 23:46:08.999376 drop table if exists "TableWithNull"; [] gorptest: 23:46:08.999474 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 23:46:08.999652 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 23:46:08.999713 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 23:46:08.999748 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 23:46:08.999776 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 23:46:08.999800 drop table if exists "Invoice"; [] 2023/01/19 23:46:08 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: 23:46:08.999970 drop table if exists "invoice_test"; [] gorptest: 23:46:09.000055 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.000066 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.000076 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.000092 drop table if exists "person_test"; [] gorptest: 23:46:09.000101 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.000111 drop table if exists "id_created_test"; [] gorptest: 23:46:09.000120 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.000130 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.000140 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.000154 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.000173 drop table if exists "time_test"; [] gorptest: 23:46:09.000187 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.000282 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: 23:46:09.000355 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.000424 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.000508 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.000577 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.000642 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.000714 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.000783 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.000851 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.000918 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.000986 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.001062 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969001050154 2:1674171969001050154 3:"bob" 4:"smith" 5:1] gorptest: 23:46:09.001121 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 23:46:09.001170 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 23:46:09.001215 drop table if exists "invoice_test"; [] gorptest: 23:46:09.001295 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.001364 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.001421 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.001508 drop table if exists "person_test"; [] gorptest: 23:46:09.001568 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.001622 drop table if exists "id_created_test"; [] gorptest: 23:46:09.001675 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.001737 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.001790 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.001839 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.001891 drop table if exists "time_test"; [] gorptest: 23:46:09.001942 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.002034 drop table if exists "invoice_test"; [] gorptest: 23:46:09.002119 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.002130 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.002143 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.002153 drop table if exists "person_test"; [] gorptest: 23:46:09.002163 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.002174 drop table if exists "id_created_test"; [] gorptest: 23:46:09.002184 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.002194 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.002206 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.002217 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.002226 drop table if exists "time_test"; [] gorptest: 23:46:09.002240 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.002320 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: 23:46:09.002397 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.002486 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.002574 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.002650 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.002715 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.002780 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.002852 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.002920 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.002991 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.003059 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.003133 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969003123079 2:1674171969003123079 3:"bob" 4:"smith" 5:1] gorptest: 23:46:09.003191 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:46:09.003234 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674171969003123079 2:1674171969003123079 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 23:46:09.003283 select * from person_test where id = ? [1:1] gorptest: 23:46:09.003333 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 23:46:09.003375 drop table if exists "invoice_test"; [] gorptest: 23:46:09.003433 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.003492 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.003546 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.003635 drop table if exists "person_test"; [] gorptest: 23:46:09.003694 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.003747 drop table if exists "id_created_test"; [] gorptest: 23:46:09.003800 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.003852 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.003904 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.003957 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.004036 drop table if exists "time_test"; [] gorptest: 23:46:09.004090 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.004173 drop table if exists "invoice_test"; [] gorptest: 23:46:09.004257 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.004272 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.004283 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.004292 drop table if exists "person_test"; [] gorptest: 23:46:09.004302 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.004311 drop table if exists "id_created_test"; [] gorptest: 23:46:09.004325 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.004335 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.004344 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.004353 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.004362 drop table if exists "time_test"; [] gorptest: 23:46:09.004376 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.004465 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: 23:46:09.004542 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.004614 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.004707 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.004781 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.004851 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.004920 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.005000 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.005072 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.005140 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.005210 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.005280 begin; [] gorptest: 23:46:09.005302 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 23:46:09.005347 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 23:46:09.005360 commit; [] gorptest: 23:46:09.005388 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 23:46:09.005426 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 23:46:09.005451 drop table if exists "invoice_test"; [] gorptest: 23:46:09.005513 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.005572 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.005627 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.005717 drop table if exists "person_test"; [] gorptest: 23:46:09.005772 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.005860 drop table if exists "id_created_test"; [] gorptest: 23:46:09.005915 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.005971 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.006020 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.006072 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.006126 drop table if exists "time_test"; [] gorptest: 23:46:09.006178 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.006263 drop table if exists "invoice_test"; [] gorptest: 23:46:09.006349 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.006360 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.006370 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.006379 drop table if exists "person_test"; [] gorptest: 23:46:09.006388 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.006401 drop table if exists "id_created_test"; [] gorptest: 23:46:09.006410 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.006419 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.006429 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.006438 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.006448 drop table if exists "time_test"; [] gorptest: 23:46:09.006465 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.006547 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: 23:46:09.006620 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.006689 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.006778 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.006848 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.006914 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.006981 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.007054 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.007122 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.007196 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.007264 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.007329 begin; [] gorptest: 23:46:09.007352 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 23:46:09.007385 select memo from invoice_test [] gorptest: 23:46:09.007410 savepoint "foo" [1:] gorptest: 23:46:09.007415 select memo from invoice_test [] gorptest: 23:46:09.007436 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 23:46:09.007464 select memo from invoice_test [] gorptest: 23:46:09.007481 rollback to savepoint "foo" [1:] gorptest: 23:46:09.007487 select memo from invoice_test [] gorptest: 23:46:09.007495 rollback; [] gorptest: 23:46:09.007515 drop table if exists "invoice_test"; [] gorptest: 23:46:09.007593 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.007652 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.007706 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.007810 drop table if exists "person_test"; [] gorptest: 23:46:09.007891 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.007947 drop table if exists "id_created_test"; [] gorptest: 23:46:09.008000 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.008056 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.008108 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.008161 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.008215 drop table if exists "time_test"; [] gorptest: 23:46:09.008264 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.008360 drop table if exists "invoice_test"; [] gorptest: 23:46:09.008442 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.008452 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.008466 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.008476 drop table if exists "person_test"; [] gorptest: 23:46:09.008487 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.008497 drop table if exists "id_created_test"; [] gorptest: 23:46:09.008507 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.008517 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.008530 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.008539 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.008548 drop table if exists "time_test"; [] gorptest: 23:46:09.008562 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.008646 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: 23:46:09.008719 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.008790 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.008874 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.008944 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.009009 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.009075 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.009149 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.009216 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.009287 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.009357 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.009432 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 23:46:09.009490 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 23:46:09.009545 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 23:46:09.009596 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 23:46:09.009638 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 23:46:09.009678 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 23:46:09.009715 drop table if exists "invoice_test"; [] gorptest: 23:46:09.009776 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.009828 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.009884 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.009966 drop table if exists "person_test"; [] gorptest: 23:46:09.010017 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.010075 drop table if exists "id_created_test"; [] gorptest: 23:46:09.010127 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.010180 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.010232 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.010284 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.010351 drop table if exists "time_test"; [] gorptest: 23:46:09.010427 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.010513 drop table if exists "invoice_test"; [] gorptest: 23:46:09.010603 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.010614 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.010624 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.010633 drop table if exists "person_test"; [] gorptest: 23:46:09.010643 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.010657 drop table if exists "id_created_test"; [] gorptest: 23:46:09.010667 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.010676 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.010685 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.010695 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.010705 drop table if exists "time_test"; [] gorptest: 23:46:09.010728 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.010814 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: 23:46:09.010887 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.010961 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.011045 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.011114 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.011178 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.011243 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.011316 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.011386 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.011455 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.011527 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.011596 delete from invoice_test [] gorptest: 23:46:09.011641 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 23:46:09.011696 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 23:46:09.011760 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:5263697353077311120 2:8933963742922748130 3:"random 1815803990051224556" 4:0 5:true 6:1] gorptest: 23:46:09.011809 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 23:46:09.011835 select * from invoice_test [] gorptest: 23:46:09.011879 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 23:46:09.011923 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 23:46:09.011943 delete from invoice_tag_test [] gorptest: 23:46:09.011991 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: 23:46:09.012044 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 23:46:09.012082 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:7749517290845802416 2:5423070613326768163 3:"random 6686450289717452441" 4:33 5:false 6:1] gorptest: 23:46:09.012130 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 23:46:09.012160 select * from invoice_tag_test [] gorptest: 23:46:09.012204 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 23:46:09.012249 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 23:46:09.012268 delete from alias_trans_field_test [] gorptest: 23:46:09.012312 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 23:46:09.012361 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 23:46:09.012387 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 6607671238087657953" 2:1] gorptest: 23:46:09.012429 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 23:46:09.012447 select * from alias_trans_field_test [] gorptest: 23:46:09.012480 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 23:46:09.012517 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 23:46:09.012538 drop table if exists "invoice_test"; [] gorptest: 23:46:09.012601 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.012663 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.012721 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.012802 drop table if exists "person_test"; [] gorptest: 23:46:09.012858 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.012913 drop table if exists "id_created_test"; [] gorptest: 23:46:09.012962 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.013015 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.013069 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.013123 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.013175 drop table if exists "time_test"; [] gorptest: 23:46:09.013229 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.013308 drop table if exists "invoice_test"; [] gorptest: 23:46:09.013411 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.013428 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.013442 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.013457 drop table if exists "person_test"; [] gorptest: 23:46:09.013470 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.013495 drop table if exists "id_created_test"; [] gorptest: 23:46:09.013504 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.013514 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.013526 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.013536 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.013545 drop table if exists "time_test"; [] gorptest: 23:46:09.013559 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.013642 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: 23:46:09.013720 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.013789 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.013872 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.013945 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.014012 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.014078 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.014154 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.014223 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.014293 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.014362 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.014430 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 23:46:09.014480 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 23:46:09.014505 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 23:46:09.014547 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 23:46:09.014564 drop table if exists "invoice_test"; [] gorptest: 23:46:09.014622 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.014680 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.014735 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.014814 drop table if exists "person_test"; [] gorptest: 23:46:09.014871 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.014928 drop table if exists "id_created_test"; [] gorptest: 23:46:09.015030 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.015084 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.015139 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.015188 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.015242 drop table if exists "time_test"; [] gorptest: 23:46:09.015295 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.015384 drop table if exists "invoice_test"; [] gorptest: 23:46:09.015469 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.015479 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.015489 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.015502 drop table if exists "person_test"; [] gorptest: 23:46:09.015512 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.015521 drop table if exists "id_created_test"; [] gorptest: 23:46:09.015530 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.015540 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.015549 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.015562 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.015571 drop table if exists "time_test"; [] gorptest: 23:46:09.015586 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.015669 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: 23:46:09.015741 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.015813 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.015900 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.015971 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.016036 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.016101 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.016169 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.016236 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.016311 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.016379 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.016471 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: 23:46:09.016526 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 23:46:09.016574 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: 23:46:09.016620 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 23:46:09.016649 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 23:46:09.016689 drop table if exists "invoice_test"; [] gorptest: 23:46:09.016748 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.016801 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.016857 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.016938 drop table if exists "person_test"; [] gorptest: 23:46:09.017021 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.017103 drop table if exists "id_created_test"; [] gorptest: 23:46:09.017159 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.017216 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.017270 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.017322 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.017377 drop table if exists "time_test"; [] gorptest: 23:46:09.017427 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.017510 drop table if exists "invoice_test"; [] gorptest: 23:46:09.017599 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.017609 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.017623 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.017633 drop table if exists "person_test"; [] gorptest: 23:46:09.017643 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.017653 drop table if exists "id_created_test"; [] gorptest: 23:46:09.017662 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.017671 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.017684 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.017694 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.017703 drop table if exists "time_test"; [] gorptest: 23:46:09.017717 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.017798 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: 23:46:09.017876 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.017945 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.018030 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.018101 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.018166 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.018233 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.018307 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.018376 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.018446 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.018514 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.018587 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 23:46:09.018642 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 23:46:09.018674 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 23:46:09.018721 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 23:46:09.018754 select * from embedded_struct_test [] gorptest: 23:46:09.018784 drop table if exists "invoice_test"; [] gorptest: 23:46:09.018845 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.018903 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.018958 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.019037 drop table if exists "person_test"; [] gorptest: 23:46:09.019093 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.019146 drop table if exists "id_created_test"; [] gorptest: 23:46:09.019199 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.019253 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.019309 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.019360 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.019412 drop table if exists "time_test"; [] gorptest: 23:46:09.019464 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.019548 drop table if exists "invoice_test"; [] gorptest: 23:46:09.019635 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.019646 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.019656 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.019665 drop table if exists "person_test"; [] gorptest: 23:46:09.019678 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.019687 drop table if exists "id_created_test"; [] gorptest: 23:46:09.019697 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.019706 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.019715 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.019725 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.019737 drop table if exists "time_test"; [] gorptest: 23:46:09.019751 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.019832 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: 23:46:09.019905 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.019976 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.020065 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.020137 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.020211 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.020278 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.020346 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.020414 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.020489 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.020559 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.020630 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 23:46:09.020680 drop table if exists "invoice_test"; [] gorptest: 23:46:09.020740 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.020792 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.020848 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.020932 drop table if exists "person_test"; [] gorptest: 23:46:09.020984 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.021038 drop table if exists "id_created_test"; [] gorptest: 23:46:09.021091 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.021145 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.021197 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.021253 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.021324 drop table if exists "time_test"; [] gorptest: 23:46:09.021399 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.021499 drop table if exists "invoice_test"; [] gorptest: 23:46:09.021584 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.021594 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.021604 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.021617 drop table if exists "person_test"; [] gorptest: 23:46:09.021628 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.021638 drop table if exists "id_created_test"; [] gorptest: 23:46:09.021647 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.021658 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.021667 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.021680 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.021691 drop table if exists "time_test"; [] gorptest: 23:46:09.021706 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.021795 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: 23:46:09.021871 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.021941 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.022025 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.022096 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.022160 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.022226 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.022295 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.022366 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.022437 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.022504 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.022582 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 23:46:09.022634 drop table if exists "invoice_test"; [] gorptest: 23:46:09.022694 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.022750 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.022806 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.022886 drop table if exists "person_test"; [] gorptest: 23:46:09.022941 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.022995 drop table if exists "id_created_test"; [] gorptest: 23:46:09.023045 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.023102 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.023156 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.023209 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.023265 drop table if exists "time_test"; [] gorptest: 23:46:09.023317 drop table if exists "id_created_test"; [] gorptest: 23:46:09.023376 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 23:46:09.023553 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: 23:46:09.023601 select Int64 from TableWithNull where Str='abc' [] gorptest: 23:46:09.023624 select count(*) from TableWithNull [] gorptest: 23:46:09.023641 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 23:46:09.023658 select Int64 from TableWithNull where Str='notfound' [] gorptest: 23:46:09.023675 select Int64 from TableWithNull where Str='abc' [] gorptest: 23:46:09.023690 select Float64 from TableWithNull where Str='abc' [] gorptest: 23:46:09.023705 select min(Float64) from TableWithNull [] gorptest: 23:46:09.023724 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 23:46:09.023745 select Float64 from TableWithNull where Str='notfound' [] gorptest: 23:46:09.023758 select Float64 from TableWithNull where Str='abc' [] gorptest: 23:46:09.023773 select Str from TableWithNull where Int64=? [1:78] gorptest: 23:46:09.023788 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 23:46:09.023805 select Str from TableWithNull where Int64=? [1:78] gorptest: 23:46:09.023820 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 23:46:09.023836 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 23:46:09.023855 select Str from TableWithNull where Int64=? [1:78] gorptest: 23:46:09.023873 drop table if exists "TableWithNull"; [] 2023/01/19 23:46:09 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: 23:46:09.024002 drop table if exists "invoice_test"; [] gorptest: 23:46:09.024084 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.024095 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.024110 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.024120 drop table if exists "person_test"; [] gorptest: 23:46:09.024129 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.024138 drop table if exists "id_created_test"; [] gorptest: 23:46:09.024149 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.024160 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.024173 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.024183 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.024192 drop table if exists "time_test"; [] gorptest: 23:46:09.024206 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.024287 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: 23:46:09.024362 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.024431 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.024515 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.024585 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.024649 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.024713 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.024782 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.024862 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.024933 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.025002 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.025077 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969025066397 2:1674171969025066397 3:"Bob" 4:"Smith" 5:1] gorptest: 23:46:09.025139 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969025132821 2:1674171969025132821 3:"Jane" 4:"Smith" 5:1] gorptest: 23:46:09.025196 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969025186951 2:1674171969025186951 3:"Mike" 4:"Smith" 5:1] gorptest: 23:46:09.025244 drop table if exists "invoice_test"; [] gorptest: 23:46:09.025302 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.025360 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.025414 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.025493 drop table if exists "person_test"; [] gorptest: 23:46:09.025552 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.025605 drop table if exists "id_created_test"; [] gorptest: 23:46:09.025658 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.025706 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.025758 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.025811 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.025863 drop table if exists "time_test"; [] gorptest: 23:46:09.025918 drop table if exists "id_created_test"; [] gorptest: 23:46:09.025972 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 23:46:09.026125 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 23:46:09.026171 drop table if exists "string_pk_test"; [] 2023/01/19 23:46:09 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: 23:46:09.026499 drop table if exists "invoice_test"; [] gorptest: 23:46:09.026581 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.026595 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.026605 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.026614 drop table if exists "person_test"; [] gorptest: 23:46:09.026625 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.026635 drop table if exists "id_created_test"; [] gorptest: 23:46:09.026649 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.026658 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.026668 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.026677 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.026688 drop table if exists "time_test"; [] gorptest: 23:46:09.026702 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.026786 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: 23:46:09.026858 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.026933 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.027022 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.027092 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.027156 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.027221 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.027290 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.027358 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.027426 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.027495 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.027565 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-19 23:15:09.027558884 +0000 UTC] gorptest: 23:46:09.027630 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-19 23:16:10.027558884 +0000 UTC] gorptest: 23:46:09.027699 SELECT id FROM time_test WHERE Time < ? [1:2023-01-19 23:16:09.027558884 +0000 UTC] gorptest: 23:46:09.027738 drop table if exists "invoice_test"; [] gorptest: 23:46:09.027815 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.027885 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.027940 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.028023 drop table if exists "person_test"; [] gorptest: 23:46:09.028076 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.028129 drop table if exists "id_created_test"; [] gorptest: 23:46:09.028182 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.028234 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.028293 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.028348 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.028404 drop table if exists "time_test"; [] gorptest: 23:46:09.028456 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.028544 drop table if exists "invoice_test"; [] gorptest: 23:46:09.028623 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.028634 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.028649 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.028659 drop table if exists "person_test"; [] gorptest: 23:46:09.028668 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.028677 drop table if exists "id_created_test"; [] gorptest: 23:46:09.028687 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.028697 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.028710 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.028720 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.028729 drop table if exists "time_test"; [] gorptest: 23:46:09.028743 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.028824 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: 23:46:09.028903 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.028972 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.029055 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.029126 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.029193 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.029259 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.029327 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.029394 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.029482 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.029556 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.029633 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969029621360 2:1674171969029621360 3:"bob" 4:"smith" 5:1] gorptest: 23:46:09.029698 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 23:46:09.029746 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 23:46:09.029793 drop table if exists "invoice_test"; [] gorptest: 23:46:09.029858 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.029916 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.029977 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.030059 drop table if exists "person_test"; [] gorptest: 23:46:09.030118 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.030173 drop table if exists "id_created_test"; [] gorptest: 23:46:09.030229 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.030284 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.030333 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.030386 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.030438 drop table if exists "time_test"; [] gorptest: 23:46:09.030490 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.030583 drop table if exists "invoice_test"; [] gorptest: 23:46:09.030669 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.030679 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.030689 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.030699 drop table if exists "person_test"; [] gorptest: 23:46:09.030708 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.030721 drop table if exists "id_created_test"; [] gorptest: 23:46:09.030730 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.030740 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.030751 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.030760 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.030770 drop table if exists "time_test"; [] gorptest: 23:46:09.030786 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.030869 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: 23:46:09.030941 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.031013 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.031105 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.031176 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.031242 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.031307 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.031378 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.031447 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.031516 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.031588 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2023/01/19 23:46:09 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: 23:46:09.032503 drop table if exists "invoice_test"; [] gorptest: 23:46:09.032585 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.032599 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.032609 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.032618 drop table if exists "person_test"; [] gorptest: 23:46:09.032631 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.032640 drop table if exists "id_created_test"; [] gorptest: 23:46:09.032656 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.032665 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.032674 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.032686 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.032697 drop table if exists "time_test"; [] gorptest: 23:46:09.032711 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.032795 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: 23:46:09.032867 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.032961 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.033081 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.033155 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.033223 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.033289 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.033359 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.033427 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.033496 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.033563 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.033640 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969033629207 2:1674171969033629207 3:"bob" 4:"smith" 5:1] gorptest: 23:46:09.033700 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969033693169 2:1674171969033693169 3:"jane" 4:"doe" 5:1] gorptest: 23:46:09.033755 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:46:09.033789 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 23:46:09.033815 select * from person_test where Id=? [1:1] gorptest: 23:46:09.033851 select * from person_test order by fname asc [] gorptest: 23:46:09.033889 drop table if exists "invoice_test"; [] gorptest: 23:46:09.033950 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.034008 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.034065 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.034721 drop table if exists "person_test"; [] gorptest: 23:46:09.034785 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.034846 drop table if exists "id_created_test"; [] gorptest: 23:46:09.034899 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.035119 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.035171 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.035225 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.035277 drop table if exists "time_test"; [] gorptest: 23:46:09.035329 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.035419 drop table if exists "invoice_test"; [] gorptest: 23:46:09.035506 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.035516 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.035526 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.035536 drop table if exists "person_test"; [] gorptest: 23:46:09.035545 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.035557 drop table if exists "id_created_test"; [] gorptest: 23:46:09.035567 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.035576 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.035585 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.035595 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.035605 drop table if exists "time_test"; [] gorptest: 23:46:09.035624 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.035705 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: 23:46:09.035777 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.035846 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.035934 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.036004 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.036068 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.036133 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.036200 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.036268 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.036339 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.036407 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.036481 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969036471258 2:1674171969036471258 3:"bob" 4:"smith" 5:1] gorptest: 23:46:09.036537 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:46:09.036571 select * from person_test where Id=? [1:1] gorptest: 23:46:09.036613 select FName from person_test where Id=? [1:1] gorptest: 23:46:09.036635 select * from person_test where Id=? [1:1] gorptest: 23:46:09.036672 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 23:46:09.036707 select * from person_test where Id=? [1:-2222] gorptest: 23:46:09.036744 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969036734451 2:1674171969036734451 3:"bob" 4:"smith" 5:1] gorptest: 23:46:09.036790 select * from person_test where Fname='bob' [] gorptest: 23:46:09.036839 select * from person_test where Id=-123 [] gorptest: 23:46:09.036856 select * from person_test where Id=-123 [] gorptest: 23:46:09.036875 select * from person_test where Id=-123 [] gorptest: 23:46:09.036889 select * from person_test where Id=-123 [] gorptest: 23:46:09.036904 drop table if exists "invoice_test"; [] gorptest: 23:46:09.036964 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.037021 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.037075 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.037154 drop table if exists "person_test"; [] gorptest: 23:46:09.037213 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.037267 drop table if exists "id_created_test"; [] gorptest: 23:46:09.037320 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.037375 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.037424 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.037478 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.037531 drop table if exists "time_test"; [] gorptest: 23:46:09.037582 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.037667 drop table if exists "invoice_test"; [] gorptest: 23:46:09.037756 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.037767 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.037777 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.037786 drop table if exists "person_test"; [] gorptest: 23:46:09.037796 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.037808 drop table if exists "id_created_test"; [] gorptest: 23:46:09.037818 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.037827 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.037837 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.037846 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.037856 drop table if exists "time_test"; [] gorptest: 23:46:09.037874 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.037954 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: 23:46:09.038027 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.038095 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.038182 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.038251 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.038315 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.038383 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.038450 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.038518 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.038586 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.038653 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.038721 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 23:46:09.038767 select * from id_created_test where Id=1 [] gorptest: 23:46:09.038796 SELECT *, 1 AS external FROM id_created_test [] gorptest: 23:46:09.038836 drop table if exists "invoice_test"; [] gorptest: 23:46:09.039035 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.039095 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.039152 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.039251 drop table if exists "person_test"; [] gorptest: 23:46:09.039304 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.039360 drop table if exists "id_created_test"; [] gorptest: 23:46:09.039416 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.039470 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.039523 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.039576 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.039629 drop table if exists "time_test"; [] gorptest: 23:46:09.039678 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.039813 drop table if exists "invoice_test"; [] gorptest: 23:46:09.039897 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.039907 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.039917 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.039930 drop table if exists "person_test"; [] gorptest: 23:46:09.039940 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.039950 drop table if exists "id_created_test"; [] gorptest: 23:46:09.039959 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.039969 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.039978 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.039991 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.040012 drop table if exists "time_test"; [] gorptest: 23:46:09.040032 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.040150 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: 23:46:09.040228 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.040298 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.040386 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.040457 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.040521 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.040588 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.040657 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.040726 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.040795 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.040867 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.040932 drop table if exists "invoice_test"; [] gorptest: 23:46:09.041007 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.041062 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.041117 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.041208 drop table if exists "person_test"; [] gorptest: 23:46:09.041263 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.041317 drop table if exists "id_created_test"; [] gorptest: 23:46:09.041369 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.041418 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.041470 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.041522 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.041574 drop table if exists "time_test"; [] gorptest: 23:46:09.041625 drop table if exists "id_created_test"; [] gorptest: 23:46:09.041637 drop table if exists "single_column_table"; [] gorptest: 23:46:09.041652 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: 23:46:09.041730 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: 23:46:09.041805 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.041875 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: 23:46:09.041959 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: 23:46:09.042032 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.042098 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.042164 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.042231 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.042303 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.042376 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: 23:46:09.042445 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.042511 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 23:46:09.042526 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 23:46:09.042599 delete from "invoice_test"; [] gorptest: 23:46:09.042636 delete from "invoice_tag_test"; [] gorptest: 23:46:09.042668 delete from "alias_trans_field_test"; [] gorptest: 23:46:09.042702 delete from "invoice_override_test"; [] gorptest: 23:46:09.042735 delete from "person_test"; [] gorptest: 23:46:09.042769 delete from "ignored_column_test"; [] gorptest: 23:46:09.042802 delete from "id_created_test"; [] gorptest: 23:46:09.042832 delete from "type_conv_test"; [] gorptest: 23:46:09.042867 delete from "embedded_struct_test"; [] gorptest: 23:46:09.042897 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.042931 delete from "embedded_autoincr_test"; [] gorptest: 23:46:09.042962 delete from "time_test"; [] gorptest: 23:46:09.042995 delete from "id_created_test"; [] gorptest: 23:46:09.043026 delete from "single_column_table"; [] gorptest: 23:46:09.043070 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 23:46:09.043091 drop table if exists "invoice_test"; [] gorptest: 23:46:09.043148 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.043203 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.043256 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.043347 drop table if exists "person_test"; [] gorptest: 23:46:09.043421 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.043475 drop table if exists "id_created_test"; [] gorptest: 23:46:09.043529 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.043582 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.043635 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.043688 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.043740 drop table if exists "time_test"; [] gorptest: 23:46:09.043789 drop table if exists "id_created_test"; [] gorptest: 23:46:09.043804 drop table if exists "single_column_table"; [] 2023/01/19 23:46:09 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: 23:46:09.043966 drop table if exists "invoice_test"; [] gorptest: 23:46:09.044056 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.044067 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.044078 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.044087 drop table if exists "person_test"; [] gorptest: 23:46:09.044096 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.044106 drop table if exists "id_created_test"; [] gorptest: 23:46:09.044119 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.044128 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.044139 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.044149 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.044160 drop table if exists "time_test"; [] gorptest: 23:46:09.044178 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.044261 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: 23:46:09.044334 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.044404 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.044491 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.044562 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.044627 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.044693 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.044760 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.044828 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.044897 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.044970 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.045047 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 23:46:09.045102 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 23:46:09.045145 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 23:46:09.045193 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 23:46:09.045241 begin; [] gorptest: 23:46:09.045252 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 23:46:09.045286 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 23:46:09.045455 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 23:46:09.045493 commit; [] gorptest: 23:46:09.045517 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 23:46:09.045565 drop table if exists "invoice_test"; [] gorptest: 23:46:09.045656 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.045710 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.045765 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.045862 drop table if exists "person_test"; [] gorptest: 23:46:09.045919 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.045973 drop table if exists "id_created_test"; [] gorptest: 23:46:09.046027 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.046077 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.046130 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.046183 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.046235 drop table if exists "time_test"; [] gorptest: 23:46:09.046287 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 0.072s gopkg.in/gorp.v1 2023/01/19 23:46:09 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: 23:46:09.582208 drop table if exists "invoice_test"; [] gorptest: 23:46:09.582500 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.582620 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.582734 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.582841 drop table if exists "person_test"; [] gorptest: 23:46:09.582946 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.583051 drop table if exists "id_created_test"; [] gorptest: 23:46:09.583155 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.583259 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.583364 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.583480 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.583585 drop table if exists "time_test"; [] gorptest: 23:46:09.583700 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.583932 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: 23:46:09.584124 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.584311 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.584526 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.584714 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.584896 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.585094 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.585283 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.585472 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.585660 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.585842 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.586028 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: 23:46:09.586138 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: 23:46:09.586255 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.586370 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: 23:46:09.586484 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: 23:46:09.586591 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.586697 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.586803 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.586908 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.587023 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.587144 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: 23:46:09.587260 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.587369 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 23:46:09.587479 drop table if exists "invoice_test"; [] gorptest: 23:46:09.587675 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.587844 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.588007 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.588231 drop table if exists "person_test"; [] gorptest: 23:46:09.588400 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.588563 drop table if exists "id_created_test"; [] gorptest: 23:46:09.588727 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.588892 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.589053 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.589221 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.589382 drop table if exists "time_test"; [] gorptest: 23:46:09.589549 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.589834 drop table if exists "invoice_test"; [] gorptest: 23:46:09.590049 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.590169 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.590272 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.590370 drop table if exists "person_test"; [] gorptest: 23:46:09.590469 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.590567 drop table if exists "id_created_test"; [] gorptest: 23:46:09.590664 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.590761 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.590858 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.590956 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.591053 drop table if exists "time_test"; [] gorptest: 23:46:09.591154 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.591332 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: 23:46:09.591512 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.591688 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.591886 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.592066 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.592236 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.592405 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.592579 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.592757 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.592932 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.593111 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.593287 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: 23:46:09.593401 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: 23:46:09.593511 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.593613 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: 23:46:09.593713 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: 23:46:09.593811 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.593910 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.594020 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.594117 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.594215 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.594314 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: 23:46:09.594416 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.594512 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 23:46:09.594632 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969594608472 2:1674171969594608472 3:"Bob" 4:"Smith" 5:1] gorptest: 23:46:09.594791 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 23:46:09.594945 delete from "invoice_test"; [] gorptest: 23:46:09.595120 delete from "invoice_tag_test"; [] gorptest: 23:46:09.595253 delete from "alias_trans_field_test"; [] gorptest: 23:46:09.595386 delete from "invoice_override_test"; [] gorptest: 23:46:09.595520 delete from "person_test"; [] gorptest: 23:46:09.595654 delete from "ignored_column_test"; [] gorptest: 23:46:09.595786 delete from "id_created_test"; [] gorptest: 23:46:09.595919 delete from "type_conv_test"; [] gorptest: 23:46:09.596051 delete from "embedded_struct_test"; [] gorptest: 23:46:09.596180 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.596310 delete from "embedded_autoincr_test"; [] gorptest: 23:46:09.596439 delete from "time_test"; [] gorptest: 23:46:09.596570 delete from "id_created_test"; [] gorptest: 23:46:09.596702 SELECT * FROM person_test [] gorptest: 23:46:09.596832 SELECT * FROM invoice_test [] gorptest: 23:46:09.596957 drop table if exists "invoice_test"; [] gorptest: 23:46:09.597118 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.597276 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.597430 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.597627 drop table if exists "person_test"; [] gorptest: 23:46:09.597788 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.597943 drop table if exists "id_created_test"; [] gorptest: 23:46:09.598098 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.598255 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.598411 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.598573 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.598729 drop table if exists "time_test"; [] gorptest: 23:46:09.598885 drop table if exists "id_created_test"; [] gorptest: 23:46:09.599036 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 23:46:09.599296 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2023-01-19 23:46:09 +0000 UTC] gorptest: 23:46:09.599456 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 23:46:09.599579 drop table if exists "WithCustomDate"; [] gorptest: 23:46:09.599782 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 23:46:09.600032 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 23:46:09.600211 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 23:46:09.600388 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 23:46:09.600542 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 23:46:09.600693 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 23:46:09.600838 drop table if exists "PersonUInt64"; [] gorptest: 23:46:09.600998 drop table if exists "PersonUInt32"; [] gorptest: 23:46:09.601156 drop table if exists "PersonUInt16"; [] gorptest: 23:46:09.601363 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 23:46:09.601653 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 23:46:09.601817 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 23:46:09.601938 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 23:46:09.602062 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 23:46:09.602217 drop table if exists "UniqueColumns"; [] gorptest: 23:46:09.602505 drop table if exists PersistentUser [] gorptest: 23:46:09.602704 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 23:46:09.602907 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 23:46:09.603057 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 23:46:09.603183 select * from PersistentUser [] gorptest: 23:46:09.603318 select * from PersistentUser [] gorptest: 23:46:09.603451 select * from PersistentUser [] gorptest: 23:46:09.603577 select Id from PersistentUser [] gorptest: 23:46:09.603691 select mykey from PersistentUser [] gorptest: 23:46:09.603803 select PassedTraining from PersistentUser [] gorptest: 23:46:09.603913 select Id from PersistentUser [] gorptest: 23:46:09.604022 drop table if exists "PersistentUser"; [] gorptest: 23:46:09.604227 drop table if exists PersistentUser [] gorptest: 23:46:09.604419 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 23:46:09.604602 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 23:46:09.604754 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 23:46:09.604907 select * from PersistentUser where mykey = ? [1:43] gorptest: 23:46:09.605054 select * from PersistentUser where mykey = ? [1:43] gorptest: 23:46:09.605192 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 23:46:09.605471 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 23:46:09.605706 drop table if exists "PersistentUser"; [] gorptest: 23:46:09.605898 drop table if exists PersistentUser [] gorptest: 23:46:09.606094 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 23:46:09.606281 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 23:46:09.606432 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 23:46:09.606579 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 23:46:09.606850 drop table if exists "PersistentUser"; [] 2023/01/19 23:46:09 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: 23:46:09.607167 drop table if exists "invoice_test"; [] gorptest: 23:46:09.607339 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.607445 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.607599 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.607768 drop table if exists "person_test"; [] gorptest: 23:46:09.607878 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.607984 drop table if exists "id_created_test"; [] gorptest: 23:46:09.608090 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.608199 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.608327 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.608435 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.608542 drop table if exists "time_test"; [] gorptest: 23:46:09.608661 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.608848 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: 23:46:09.609043 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.609229 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.609435 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.609620 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.609801 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.609986 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.610170 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.610359 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.610541 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.610726 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.610912 select * from invoice_test where id=99999 [] gorptest: 23:46:09.611057 select * from invoice_test where id=99999 [] gorptest: 23:46:09.611192 drop table if exists "invoice_test"; [] gorptest: 23:46:09.611358 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.611525 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.611692 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.611910 drop table if exists "person_test"; [] gorptest: 23:46:09.612082 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.612246 drop table if exists "id_created_test"; [] gorptest: 23:46:09.612411 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.612576 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.612737 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.612901 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.613061 drop table if exists "time_test"; [] gorptest: 23:46:09.613223 drop table if exists "id_created_test"; [] gorptest: 23:46:09.613391 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 23:46:09.613675 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: 23:46:09.613799 drop table if exists "InvoicePersonView"; [] 2023/01/19 23:46:09 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: 23:46:09.614168 drop table if exists "invoice_test"; [] gorptest: 23:46:09.614357 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.614479 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.614593 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.614702 drop table if exists "person_test"; [] gorptest: 23:46:09.614811 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.614918 drop table if exists "id_created_test"; [] gorptest: 23:46:09.615022 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.615139 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.615243 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.615350 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.615456 drop table if exists "time_test"; [] gorptest: 23:46:09.615552 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.615751 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: 23:46:09.615938 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.616115 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.616302 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.616480 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.616647 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.616815 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.616990 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.617165 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.617339 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.617508 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.617684 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969617671595 2:1674171969617671595 3:"Bob" 4:"Smith" 5:1] gorptest: 23:46:09.617844 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:46:09.617980 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674171969617671595 2:1674171969617671595 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 23:46:09.618126 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674171969617671595 2:1674171969617671595 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 23:46:09.618245 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:46:09.618368 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 23:46:09.618481 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:46:09.618598 drop table if exists "invoice_test"; [] gorptest: 23:46:09.618752 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.618908 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.619060 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.619252 drop table if exists "person_test"; [] gorptest: 23:46:09.619409 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.619566 drop table if exists "id_created_test"; [] gorptest: 23:46:09.619720 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.619873 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.620023 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.620175 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.620331 drop table if exists "time_test"; [] gorptest: 23:46:09.620482 drop table if exists "id_created_test"; [] gorptest: 23:46:09.620658 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 23:46:09.620913 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 23:46:09.621061 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 23:46:09.621213 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: 23:46:09.621367 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 23:46:09.621494 drop table if exists "TableWithNull"; [] gorptest: 23:46:09.621698 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 23:46:09.621975 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 23:46:09.622142 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 23:46:09.622270 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 23:46:09.622400 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 23:46:09.622506 drop table if exists "Invoice"; [] 2023/01/19 23:46:09 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: 23:46:09.622870 drop table if exists "invoice_test"; [] gorptest: 23:46:09.623041 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.623148 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.623252 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.623351 drop table if exists "person_test"; [] gorptest: 23:46:09.623448 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.623543 drop table if exists "id_created_test"; [] gorptest: 23:46:09.623639 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.623736 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.623832 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.623928 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.624023 drop table if exists "time_test"; [] gorptest: 23:46:09.624123 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.624292 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: 23:46:09.624467 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.624638 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.624829 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.625005 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.625168 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.625328 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.625489 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.625653 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.625837 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.626010 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.626187 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969626175543 2:1674171969626175543 3:"bob" 4:"smith" 5:1] gorptest: 23:46:09.626348 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 23:46:09.626492 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 23:46:09.626627 drop table if exists "invoice_test"; [] gorptest: 23:46:09.626785 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.626943 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.627104 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.627292 drop table if exists "person_test"; [] gorptest: 23:46:09.627452 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.627611 drop table if exists "id_created_test"; [] gorptest: 23:46:09.627765 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.627918 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.628071 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.628226 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.628378 drop table if exists "time_test"; [] gorptest: 23:46:09.628532 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.628805 drop table if exists "invoice_test"; [] gorptest: 23:46:09.628972 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.629080 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.629179 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.629277 drop table if exists "person_test"; [] gorptest: 23:46:09.629370 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.629465 drop table if exists "id_created_test"; [] gorptest: 23:46:09.629563 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.629659 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.629751 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.629848 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.629943 drop table if exists "time_test"; [] gorptest: 23:46:09.630043 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.630213 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: 23:46:09.630397 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.630569 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.630760 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.630937 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.631103 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.631273 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.631449 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.631626 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.631810 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.631982 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.632165 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969632150907 2:1674171969632150907 3:"bob" 4:"smith" 5:1] gorptest: 23:46:09.632326 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:46:09.632464 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674171969632150907 2:1674171969632150907 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 23:46:09.632602 select * from person_test where id = ? [1:1] gorptest: 23:46:09.632750 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 23:46:09.632888 drop table if exists "invoice_test"; [] gorptest: 23:46:09.633046 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.633204 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.633362 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.633558 drop table if exists "person_test"; [] gorptest: 23:46:09.633717 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.633870 drop table if exists "id_created_test"; [] gorptest: 23:46:09.634027 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.634181 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.634333 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.634486 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.634646 drop table if exists "time_test"; [] gorptest: 23:46:09.634804 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.635197 drop table if exists "invoice_test"; [] gorptest: 23:46:09.635367 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.635474 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.635573 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.635672 drop table if exists "person_test"; [] gorptest: 23:46:09.635770 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.635867 drop table if exists "id_created_test"; [] gorptest: 23:46:09.635960 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.636054 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.636149 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.636246 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.636340 drop table if exists "time_test"; [] gorptest: 23:46:09.636440 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.636610 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: 23:46:09.636791 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.636958 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.637149 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.637326 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.637490 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.637660 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.637829 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.638007 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.638179 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.638353 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.638516 begin; [] gorptest: 23:46:09.638636 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 23:46:09.638771 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 23:46:09.638867 commit; [] gorptest: 23:46:09.638984 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 23:46:09.639107 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 23:46:09.639226 drop table if exists "invoice_test"; [] gorptest: 23:46:09.639383 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.639541 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.639694 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.639885 drop table if exists "person_test"; [] gorptest: 23:46:09.640044 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.640199 drop table if exists "id_created_test"; [] gorptest: 23:46:09.640352 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.640502 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.640654 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.640809 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.640964 drop table if exists "time_test"; [] gorptest: 23:46:09.641117 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.641379 drop table if exists "invoice_test"; [] gorptest: 23:46:09.641547 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.641655 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.641758 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.641852 drop table if exists "person_test"; [] gorptest: 23:46:09.641948 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.642039 drop table if exists "id_created_test"; [] gorptest: 23:46:09.642135 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.642147 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.642157 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.642167 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.642176 drop table if exists "time_test"; [] gorptest: 23:46:09.642191 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.642273 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: 23:46:09.642344 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.642409 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.642490 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.642556 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.642616 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.642676 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.642744 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.642808 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.642878 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.642942 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.643002 begin; [] gorptest: 23:46:09.643026 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 23:46:09.643061 select memo from invoice_test [] gorptest: 23:46:09.643075 savepoint "foo" [1:] gorptest: 23:46:09.643080 select memo from invoice_test [] gorptest: 23:46:09.643103 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 23:46:09.643125 select memo from invoice_test [] gorptest: 23:46:09.643135 rollback to savepoint "foo" [1:] gorptest: 23:46:09.643141 select memo from invoice_test [] gorptest: 23:46:09.643149 rollback; [] gorptest: 23:46:09.643170 drop table if exists "invoice_test"; [] gorptest: 23:46:09.643237 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.643290 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.643341 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.643429 drop table if exists "person_test"; [] gorptest: 23:46:09.643480 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.643530 drop table if exists "id_created_test"; [] gorptest: 23:46:09.643578 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.643626 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.643676 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.643724 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.643773 drop table if exists "time_test"; [] gorptest: 23:46:09.643821 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.643972 drop table if exists "invoice_test"; [] gorptest: 23:46:09.644067 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.644078 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.644088 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.644108 drop table if exists "person_test"; [] gorptest: 23:46:09.644118 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.644128 drop table if exists "id_created_test"; [] gorptest: 23:46:09.644137 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.644146 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.644156 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.644165 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.644174 drop table if exists "time_test"; [] gorptest: 23:46:09.644188 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.644275 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: 23:46:09.644356 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.644431 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.644514 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.644579 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.644640 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.644711 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.644785 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.644850 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.644915 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.644992 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.645065 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 23:46:09.645118 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 23:46:09.645172 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 23:46:09.645228 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 23:46:09.645275 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 23:46:09.645312 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 23:46:09.645356 drop table if exists "invoice_test"; [] gorptest: 23:46:09.645415 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.645476 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.645538 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.645616 drop table if exists "person_test"; [] gorptest: 23:46:09.645668 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.645718 drop table if exists "id_created_test"; [] gorptest: 23:46:09.645776 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.645825 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.645874 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.645924 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.645983 drop table if exists "time_test"; [] gorptest: 23:46:09.646032 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.646114 drop table if exists "invoice_test"; [] gorptest: 23:46:09.646193 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.646203 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.646222 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.646232 drop table if exists "person_test"; [] gorptest: 23:46:09.646241 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.646251 drop table if exists "id_created_test"; [] gorptest: 23:46:09.646260 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.646269 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.646280 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.646302 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.646312 drop table if exists "time_test"; [] gorptest: 23:46:09.646326 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.646405 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: 23:46:09.646485 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.646676 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.646760 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.646838 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.646900 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.646980 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.647058 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.647139 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.647216 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.647282 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.647365 delete from invoice_test [] gorptest: 23:46:09.647412 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 23:46:09.647473 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 23:46:09.647537 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:3673890411350773470 2:1494318986147304278 3:"random 1369732593843603833" 4:0 5:true 6:1] gorptest: 23:46:09.647590 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 23:46:09.647617 select * from invoice_test [] gorptest: 23:46:09.647657 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 23:46:09.647712 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 23:46:09.647732 delete from invoice_tag_test [] gorptest: 23:46:09.647778 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: 23:46:09.647837 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 23:46:09.647882 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:8579282681761443704 2:2100269888000175604 3:"random 6058869604463413715" 4:33 5:false 6:1] gorptest: 23:46:09.647927 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 23:46:09.647961 select * from invoice_tag_test [] gorptest: 23:46:09.648013 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 23:46:09.648053 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 23:46:09.648072 delete from alias_trans_field_test [] gorptest: 23:46:09.648109 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 23:46:09.648153 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 23:46:09.648178 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 6850927090734238636" 2:1] gorptest: 23:46:09.648226 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 23:46:09.648255 select * from alias_trans_field_test [] gorptest: 23:46:09.648281 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 23:46:09.648328 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 23:46:09.648345 drop table if exists "invoice_test"; [] gorptest: 23:46:09.648408 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.648474 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.648528 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.648628 drop table if exists "person_test"; [] gorptest: 23:46:09.648681 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.648740 drop table if exists "id_created_test"; [] gorptest: 23:46:09.648791 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.648849 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.648909 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.648968 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.649026 drop table if exists "time_test"; [] gorptest: 23:46:09.649076 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.649163 drop table if exists "invoice_test"; [] gorptest: 23:46:09.649242 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.649252 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.649262 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.649271 drop table if exists "person_test"; [] gorptest: 23:46:09.649281 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.649291 drop table if exists "id_created_test"; [] gorptest: 23:46:09.649310 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.649320 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.649329 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.649339 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.649348 drop table if exists "time_test"; [] gorptest: 23:46:09.649362 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.649440 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: 23:46:09.649519 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.649586 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.649677 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.649743 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.649804 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.649866 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.649944 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.650007 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.650083 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.650147 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.650222 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 23:46:09.650270 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 23:46:09.650304 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 23:46:09.650342 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 23:46:09.650359 drop table if exists "invoice_test"; [] gorptest: 23:46:09.650555 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.650609 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.650672 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.650752 drop table if exists "person_test"; [] gorptest: 23:46:09.650814 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.650868 drop table if exists "id_created_test"; [] gorptest: 23:46:09.650918 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.650967 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.651025 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.651076 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.651136 drop table if exists "time_test"; [] gorptest: 23:46:09.651184 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.651260 drop table if exists "invoice_test"; [] gorptest: 23:46:09.651348 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.651359 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.651369 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.651378 drop table if exists "person_test"; [] gorptest: 23:46:09.651388 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.651398 drop table if exists "id_created_test"; [] gorptest: 23:46:09.651407 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.651416 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.651426 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.651444 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.651454 drop table if exists "time_test"; [] gorptest: 23:46:09.651470 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.651547 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: 23:46:09.651625 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.651691 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.651790 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.651866 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.651945 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.652008 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.652081 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.652157 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.652234 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.652308 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.652421 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: 23:46:09.652474 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 23:46:09.652527 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: 23:46:09.652579 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 23:46:09.652607 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 23:46:09.652653 drop table if exists "invoice_test"; [] gorptest: 23:46:09.652720 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.652775 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.652837 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.652925 drop table if exists "person_test"; [] gorptest: 23:46:09.652977 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.653026 drop table if exists "id_created_test"; [] gorptest: 23:46:09.653085 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.653140 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.653197 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.653257 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.653306 drop table if exists "time_test"; [] gorptest: 23:46:09.653373 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.653445 drop table if exists "invoice_test"; [] gorptest: 23:46:09.653536 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.653547 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.653566 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.653576 drop table if exists "person_test"; [] gorptest: 23:46:09.653586 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.653595 drop table if exists "id_created_test"; [] gorptest: 23:46:09.653612 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.653621 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.653631 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.653647 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.653659 drop table if exists "time_test"; [] gorptest: 23:46:09.653673 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.653751 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: 23:46:09.653838 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.653915 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.654005 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.654073 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.654142 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.654205 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.654270 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.654334 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.654411 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.654485 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.654555 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 23:46:09.654606 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 23:46:09.654637 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 23:46:09.654683 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 23:46:09.654714 select * from embedded_struct_test [] gorptest: 23:46:09.654746 drop table if exists "invoice_test"; [] gorptest: 23:46:09.654805 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.654857 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.654909 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.655039 drop table if exists "person_test"; [] gorptest: 23:46:09.655103 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.655301 drop table if exists "id_created_test"; [] gorptest: 23:46:09.655353 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.655412 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.655474 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.655524 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.655571 drop table if exists "time_test"; [] gorptest: 23:46:09.655618 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.655711 drop table if exists "invoice_test"; [] gorptest: 23:46:09.655788 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.655798 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.655808 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.655818 drop table if exists "person_test"; [] gorptest: 23:46:09.655827 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.655837 drop table if exists "id_created_test"; [] gorptest: 23:46:09.655846 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.655856 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.655866 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.655885 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.655894 drop table if exists "time_test"; [] gorptest: 23:46:09.655910 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.655988 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: 23:46:09.656078 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.656145 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.656225 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.656304 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.656374 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.656436 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.656499 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.656574 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.656641 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.656715 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.656800 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 23:46:09.656847 drop table if exists "invoice_test"; [] gorptest: 23:46:09.656903 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.656964 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.657023 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.657099 drop table if exists "person_test"; [] gorptest: 23:46:09.657151 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.657210 drop table if exists "id_created_test"; [] gorptest: 23:46:09.657259 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.657317 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.657367 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.657418 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.657476 drop table if exists "time_test"; [] gorptest: 23:46:09.657525 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.657598 drop table if exists "invoice_test"; [] gorptest: 23:46:09.657684 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.657694 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.657706 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.657716 drop table if exists "person_test"; [] gorptest: 23:46:09.657726 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.657735 drop table if exists "id_created_test"; [] gorptest: 23:46:09.657753 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.657764 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.657773 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.657783 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.657801 drop table if exists "time_test"; [] gorptest: 23:46:09.657815 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.657892 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: 23:46:09.657961 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.658044 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.658133 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.658221 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.658284 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.658356 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.658431 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.658505 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.658571 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.658645 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.658736 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 23:46:09.658796 drop table if exists "invoice_test"; [] gorptest: 23:46:09.658867 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.658931 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.658982 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.659077 drop table if exists "person_test"; [] gorptest: 23:46:09.659140 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.659200 drop table if exists "id_created_test"; [] gorptest: 23:46:09.659258 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.659310 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.659362 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.659430 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.659483 drop table if exists "time_test"; [] gorptest: 23:46:09.659541 drop table if exists "id_created_test"; [] gorptest: 23:46:09.659605 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 23:46:09.659776 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: 23:46:09.659823 select Int64 from TableWithNull where Str='abc' [] gorptest: 23:46:09.659842 select count(*) from TableWithNull [] gorptest: 23:46:09.659859 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 23:46:09.659886 select Int64 from TableWithNull where Str='notfound' [] gorptest: 23:46:09.659901 select Int64 from TableWithNull where Str='abc' [] gorptest: 23:46:09.659918 select Float64 from TableWithNull where Str='abc' [] gorptest: 23:46:09.659932 select min(Float64) from TableWithNull [] gorptest: 23:46:09.659961 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 23:46:09.659980 select Float64 from TableWithNull where Str='notfound' [] gorptest: 23:46:09.659996 select Float64 from TableWithNull where Str='abc' [] gorptest: 23:46:09.660011 select Str from TableWithNull where Int64=? [1:78] gorptest: 23:46:09.660034 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 23:46:09.660051 select Str from TableWithNull where Int64=? [1:78] gorptest: 23:46:09.660066 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 23:46:09.660082 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 23:46:09.660099 select Str from TableWithNull where Int64=? [1:78] gorptest: 23:46:09.660118 drop table if exists "TableWithNull"; [] 2023/01/19 23:46:09 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: 23:46:09.660251 drop table if exists "invoice_test"; [] gorptest: 23:46:09.660339 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.660350 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.660360 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.660369 drop table if exists "person_test"; [] gorptest: 23:46:09.660378 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.660388 drop table if exists "id_created_test"; [] gorptest: 23:46:09.660411 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.660421 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.660431 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.660441 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.660454 drop table if exists "time_test"; [] gorptest: 23:46:09.660468 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.660603 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: 23:46:09.660685 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.660751 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.660851 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.661115 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.661189 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.661253 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.661323 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.661393 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.661473 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.661550 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.661632 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969661621941 2:1674171969661621941 3:"Bob" 4:"Smith" 5:1] gorptest: 23:46:09.661700 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969661688353 2:1674171969661688353 3:"Jane" 4:"Smith" 5:1] gorptest: 23:46:09.661771 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969661765040 2:1674171969661765040 3:"Mike" 4:"Smith" 5:1] gorptest: 23:46:09.661815 drop table if exists "invoice_test"; [] gorptest: 23:46:09.661875 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.661929 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.661989 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.662081 drop table if exists "person_test"; [] gorptest: 23:46:09.662139 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.662191 drop table if exists "id_created_test"; [] gorptest: 23:46:09.662256 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.662306 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.662364 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.662414 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.662466 drop table if exists "time_test"; [] gorptest: 23:46:09.662515 drop table if exists "id_created_test"; [] gorptest: 23:46:09.662569 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 23:46:09.662768 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 23:46:09.662809 drop table if exists "string_pk_test"; [] 2023/01/19 23:46:09 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: 23:46:09.663161 drop table if exists "invoice_test"; [] gorptest: 23:46:09.663254 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.663265 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.663360 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.663376 drop table if exists "person_test"; [] gorptest: 23:46:09.663386 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.663397 drop table if exists "id_created_test"; [] gorptest: 23:46:09.663407 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.663416 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.663426 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.663437 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.663455 drop table if exists "time_test"; [] gorptest: 23:46:09.663470 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.663561 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: 23:46:09.663633 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.663716 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.663814 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.663892 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.663954 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.664034 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.664099 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.664181 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.664260 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.664326 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.664403 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-19 23:15:09.664396397 +0000 UTC] gorptest: 23:46:09.664460 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-19 23:16:10.664396397 +0000 UTC] gorptest: 23:46:09.664523 SELECT id FROM time_test WHERE Time < ? [1:2023-01-19 23:16:09.664396397 +0000 UTC] gorptest: 23:46:09.664552 drop table if exists "invoice_test"; [] gorptest: 23:46:09.664616 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.664680 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.664734 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.664827 drop table if exists "person_test"; [] gorptest: 23:46:09.664892 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.664945 drop table if exists "id_created_test"; [] gorptest: 23:46:09.665007 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.665067 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.665116 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.665165 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.665235 drop table if exists "time_test"; [] gorptest: 23:46:09.665298 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.665380 drop table if exists "invoice_test"; [] gorptest: 23:46:09.665473 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.665484 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.665494 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.665503 drop table if exists "person_test"; [] gorptest: 23:46:09.665512 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.665532 drop table if exists "id_created_test"; [] gorptest: 23:46:09.665542 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.665552 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.665561 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.665571 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.665580 drop table if exists "time_test"; [] gorptest: 23:46:09.665594 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.665682 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: 23:46:09.665762 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.665829 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.665918 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.665985 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.666046 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.666119 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.666194 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.666260 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.666326 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.666389 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.666470 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969666458060 2:1674171969666458060 3:"bob" 4:"smith" 5:1] gorptest: 23:46:09.666530 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 23:46:09.666574 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 23:46:09.666628 drop table if exists "invoice_test"; [] gorptest: 23:46:09.666691 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.666753 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.666806 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.666894 drop table if exists "person_test"; [] gorptest: 23:46:09.666950 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.667000 drop table if exists "id_created_test"; [] gorptest: 23:46:09.667049 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.667109 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.667159 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.667217 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.667269 drop table if exists "time_test"; [] gorptest: 23:46:09.667318 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.667402 drop table if exists "invoice_test"; [] gorptest: 23:46:09.667479 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.667491 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.667500 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.667510 drop table if exists "person_test"; [] gorptest: 23:46:09.667520 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.667538 drop table if exists "id_created_test"; [] gorptest: 23:46:09.667548 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.667557 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.667567 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.667577 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.667586 drop table if exists "time_test"; [] gorptest: 23:46:09.667601 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.667689 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: 23:46:09.667759 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.667826 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.667929 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.667998 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.668083 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.668160 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.668226 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.668300 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.668381 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.668465 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2023/01/19 23:46:09 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: 23:46:09.669675 drop table if exists "invoice_test"; [] gorptest: 23:46:09.669756 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.669775 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.669788 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.669798 drop table if exists "person_test"; [] gorptest: 23:46:09.669815 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.669825 drop table if exists "id_created_test"; [] gorptest: 23:46:09.669834 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.669843 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.669855 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.669866 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.669876 drop table if exists "time_test"; [] gorptest: 23:46:09.669889 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.669979 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: 23:46:09.670070 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.670145 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.670238 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.670316 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.670377 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.670470 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.670536 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.670602 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.670668 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.670749 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.670826 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969670813332 2:1674171969670813332 3:"bob" 4:"smith" 5:1] gorptest: 23:46:09.670896 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969670889787 2:1674171969670889787 3:"jane" 4:"doe" 5:1] gorptest: 23:46:09.670946 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:46:09.670976 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 23:46:09.671018 select * from person_test where Id=? [1:1] gorptest: 23:46:09.671049 select * from person_test order by fname asc [] gorptest: 23:46:09.671090 drop table if exists "invoice_test"; [] gorptest: 23:46:09.671151 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.671218 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.671271 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.671349 drop table if exists "person_test"; [] gorptest: 23:46:09.671420 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.671473 drop table if exists "id_created_test"; [] gorptest: 23:46:09.671537 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.671586 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.671635 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.671695 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.671752 drop table if exists "time_test"; [] gorptest: 23:46:09.671802 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.671896 drop table if exists "invoice_test"; [] gorptest: 23:46:09.671973 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.671983 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.671994 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.672004 drop table if exists "person_test"; [] gorptest: 23:46:09.672014 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.672023 drop table if exists "id_created_test"; [] gorptest: 23:46:09.672033 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.672042 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.672051 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.672061 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.672086 drop table if exists "time_test"; [] gorptest: 23:46:09.672101 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.672180 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: 23:46:09.672266 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.672333 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.672427 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.672504 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.672567 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.672642 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.672707 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.672782 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.672847 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.672925 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.673013 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969673002664 2:1674171969673002664 3:"bob" 4:"smith" 5:1] gorptest: 23:46:09.673074 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:46:09.673115 select * from person_test where Id=? [1:1] gorptest: 23:46:09.673158 select FName from person_test where Id=? [1:1] gorptest: 23:46:09.673176 select * from person_test where Id=? [1:1] gorptest: 23:46:09.673227 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 23:46:09.673267 select * from person_test where Id=? [1:-2222] gorptest: 23:46:09.673303 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674171969673296460 2:1674171969673296460 3:"bob" 4:"smith" 5:1] gorptest: 23:46:09.673364 select * from person_test where Fname='bob' [] gorptest: 23:46:09.673410 select * from person_test where Id=-123 [] gorptest: 23:46:09.673427 select * from person_test where Id=-123 [] gorptest: 23:46:09.673452 select * from person_test where Id=-123 [] gorptest: 23:46:09.673466 select * from person_test where Id=-123 [] gorptest: 23:46:09.673494 drop table if exists "invoice_test"; [] gorptest: 23:46:09.673562 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.673614 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.673675 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.673767 drop table if exists "person_test"; [] gorptest: 23:46:09.673832 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.673896 drop table if exists "id_created_test"; [] gorptest: 23:46:09.673945 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.674004 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.674054 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.674118 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.674180 drop table if exists "time_test"; [] gorptest: 23:46:09.674229 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.674313 drop table if exists "invoice_test"; [] gorptest: 23:46:09.674400 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.674412 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.674421 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.674431 drop table if exists "person_test"; [] gorptest: 23:46:09.674452 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.674462 drop table if exists "id_created_test"; [] gorptest: 23:46:09.674471 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.674481 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.674490 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.674505 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.674514 drop table if exists "time_test"; [] gorptest: 23:46:09.674535 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.674613 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: 23:46:09.674705 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.674780 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.674874 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.674953 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.675175 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.675240 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.675304 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.675380 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.675445 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.675521 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.675587 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 23:46:09.675629 select * from id_created_test where Id=1 [] gorptest: 23:46:09.675671 SELECT *, 1 AS external FROM id_created_test [] gorptest: 23:46:09.675709 drop table if exists "invoice_test"; [] gorptest: 23:46:09.675921 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.675981 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.676032 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.676133 drop table if exists "person_test"; [] gorptest: 23:46:09.676186 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.676249 drop table if exists "id_created_test"; [] gorptest: 23:46:09.676312 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.676363 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.676412 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.676461 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.676524 drop table if exists "time_test"; [] gorptest: 23:46:09.676574 drop table if exists "id_created_test"; [] 2023/01/19 23:46:09 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: 23:46:09.676694 drop table if exists "invoice_test"; [] gorptest: 23:46:09.676772 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.676782 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.676792 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.676801 drop table if exists "person_test"; [] gorptest: 23:46:09.676811 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.676834 drop table if exists "id_created_test"; [] gorptest: 23:46:09.676844 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.676853 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.676863 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.676872 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.676881 drop table if exists "time_test"; [] gorptest: 23:46:09.676929 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.677216 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: 23:46:09.677288 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.677379 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.677461 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.677537 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.677609 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.677699 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.677781 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.677847 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.677926 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.678005 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.678085 drop table if exists "invoice_test"; [] gorptest: 23:46:09.678160 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.678225 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.678276 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.678380 drop table if exists "person_test"; [] gorptest: 23:46:09.678433 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.678483 drop table if exists "id_created_test"; [] gorptest: 23:46:09.678550 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.678610 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.678670 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.678720 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.678784 drop table if exists "time_test"; [] gorptest: 23:46:09.678843 drop table if exists "id_created_test"; [] gorptest: 23:46:09.678854 drop table if exists "single_column_table"; [] gorptest: 23:46:09.678882 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: 23:46:09.678964 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: 23:46:09.679045 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.679109 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: 23:46:09.679206 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: 23:46:09.679288 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.679359 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.679423 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.679502 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.679570 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.679651 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: 23:46:09.679715 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.679778 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 23:46:09.679793 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 23:46:09.679877 delete from "invoice_test"; [] gorptest: 23:46:09.679912 delete from "invoice_tag_test"; [] gorptest: 23:46:09.679952 delete from "alias_trans_field_test"; [] gorptest: 23:46:09.679984 delete from "invoice_override_test"; [] gorptest: 23:46:09.680017 delete from "person_test"; [] gorptest: 23:46:09.680048 delete from "ignored_column_test"; [] gorptest: 23:46:09.680078 delete from "id_created_test"; [] gorptest: 23:46:09.680108 delete from "type_conv_test"; [] gorptest: 23:46:09.680138 delete from "embedded_struct_test"; [] gorptest: 23:46:09.680181 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.680213 delete from "embedded_autoincr_test"; [] gorptest: 23:46:09.680243 delete from "time_test"; [] gorptest: 23:46:09.680285 delete from "id_created_test"; [] gorptest: 23:46:09.680318 delete from "single_column_table"; [] gorptest: 23:46:09.680357 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 23:46:09.680378 drop table if exists "invoice_test"; [] gorptest: 23:46:09.680446 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.680498 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.680562 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.680637 drop table if exists "person_test"; [] gorptest: 23:46:09.680689 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.680738 drop table if exists "id_created_test"; [] gorptest: 23:46:09.680796 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.680846 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.680911 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.680961 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.681009 drop table if exists "time_test"; [] gorptest: 23:46:09.681072 drop table if exists "id_created_test"; [] gorptest: 23:46:09.681083 drop table if exists "single_column_table"; [] 2023/01/19 23:46:09 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: 23:46:09.681232 drop table if exists "invoice_test"; [] gorptest: 23:46:09.681326 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.681337 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.681347 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.681357 drop table if exists "person_test"; [] gorptest: 23:46:09.681366 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.681377 drop table if exists "id_created_test"; [] gorptest: 23:46:09.681387 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.681398 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.681407 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.681431 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.681441 drop table if exists "time_test"; [] gorptest: 23:46:09.681455 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.681532 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: 23:46:09.681624 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:46:09.681699 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:46:09.681802 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:46:09.681872 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.681943 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:46:09.682020 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:46:09.682085 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:46:09.682180 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:46:09.682256 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:46:09.682323 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:46:09.682408 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 23:46:09.682470 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 23:46:09.682528 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 23:46:09.682582 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 23:46:09.682626 begin; [] gorptest: 23:46:09.682635 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 23:46:09.682662 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 23:46:09.682843 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 23:46:09.682876 commit; [] gorptest: 23:46:09.682900 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 23:46:09.682956 drop table if exists "invoice_test"; [] gorptest: 23:46:09.683055 drop table if exists "invoice_tag_test"; [] gorptest: 23:46:09.683124 drop table if exists "alias_trans_field_test"; [] gorptest: 23:46:09.683185 drop table if exists "invoice_override_test"; [] gorptest: 23:46:09.683285 drop table if exists "person_test"; [] gorptest: 23:46:09.683338 drop table if exists "ignored_column_test"; [] gorptest: 23:46:09.683412 drop table if exists "id_created_test"; [] gorptest: 23:46:09.683476 drop table if exists "type_conv_test"; [] gorptest: 23:46:09.683526 drop table if exists "embedded_struct_test"; [] gorptest: 23:46:09.683584 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:46:09.683647 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:46:09.683705 drop table if exists "time_test"; [] gorptest: 23:46:09.683755 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 0.104s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-gopkg-gorp-1-devel-1.7.2-4.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fiOKZ2 + umask 022 + cd /builddir/build/BUILD + cd gorp-1.7.2 + DOCDIR=/builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x/usr/share/doc/golang-gopkg-gorp-1-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x/usr/share/doc/golang-gopkg-gorp-1-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x/usr/share/doc/golang-gopkg-gorp-1-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6L6vZZ + umask 022 + cd /builddir/build/BUILD + cd gorp-1.7.2 + LICENSEDIR=/builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x/usr/share/licenses/golang-gopkg-gorp-1-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x/usr/share/licenses/golang-gopkg-gorp-1-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x/usr/share/licenses/golang-gopkg-gorp-1-devel + RPM_EC=0 ++ jobs -p + exit 0 grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: golang(gopkg.in/gorp.v1) = 1.7.2-4.fc38 golang-gopkg-gorp-1-devel = 1.7.2-4.fc38 golang-ipath(gopkg.in/gorp.v1) = 1.7.2-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem Processing files: compat-golang-github-gorp-1-devel-1.7.2-4.fc38.noarch grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: compat-golang-github-gorp-1-devel = 1.7.2-4.fc38 golang(github.com/go-gorp/gorp/v1) = 1.7.2-4.fc38 golang-symlink(github.com/go-gorp/gorp/v1) = 1.7.2-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang-ipath(gopkg.in/gorp.v1) = 1.7.2-4.fc38 Obsoletes: golang-github-gorp-1-devel < 1.7.2-4.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x Wrote: /builddir/build/RPMS/compat-golang-github-gorp-1-devel-1.7.2-4.fc38.noarch.rpm Wrote: /builddir/build/RPMS/golang-gopkg-gorp-1-devel-1.7.2-4.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mmNGrR + umask 022 + cd /builddir/build/BUILD + cd gorp-1.7.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.CwCn8O + umask 022 + cd /builddir/build/BUILD + rm -rf gorp-1.7.2 gorp-1.7.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0