Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/f40-build-55145031-6532749/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a63sjsey:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a63sjsey:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'ff8322b0d8034c3fa35e96a60911e78c', '-D', '/var/lib/mock/f40-build-55145031-6532749/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a63sjsey:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1706054400 Wrote: /builddir/build/SRPMS/golang-gopkg-gorp-1-1.7.2-8.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/f40-build-55145031-6532749/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a63sjsey:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a63sjsey:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '9f95d7f58395488590a2c1b623077f10', '-D', '/var/lib/mock/f40-build-55145031-6532749/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a63sjsey:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1706054400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SHUytn + 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 + rm -rf /builddir/build/BUILD/gorp-1.7.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/gorp-1.7.2-SPECPARTS + /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.FWhrd5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-8.fc40.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-8.fc40.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-8.fc40.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-8.fc40.x86_64 + 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-8.fc40 -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-8.fc40.x86_64 -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-8.fc40.x86_64/usr/share/gocode/src/github.com/go-gorp/gorp + ln -rs /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-8.fc40.x86_64/usr/share/gocode/src/gopkg.in/gorp.v1 /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-8.fc40.x86_64/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 -j6 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ptf8BB + 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 + GO_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,pack-relative-relocs -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-8.fc40 -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-8.fc40.x86_64 -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:/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,pack-relative-relocs -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 2024/11/22 10:52:25 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:25.657961 drop table if exists "invoice_test"; [] gorptest: 10:52:25.658695 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:25.658722 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:25.658742 drop table if exists "invoice_override_test"; [] gorptest: 10:52:25.658760 drop table if exists "person_test"; [] gorptest: 10:52:25.658777 drop table if exists "ignored_column_test"; [] gorptest: 10:52:25.658795 drop table if exists "id_created_test"; [] gorptest: 10:52:25.658813 drop table if exists "type_conv_test"; [] gorptest: 10:52:25.658830 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:25.658848 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:25.658866 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:25.658883 drop table if exists "time_test"; [] gorptest: 10:52:25.658928 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:25.661689 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: 10:52:25.663171 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:25.664568 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:25.665953 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:25.667326 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:25.668659 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:25.669974 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:25.671325 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:25.672620 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:25.673979 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:25.675431 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:25.676813 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: 10:52:25.676872 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: 10:52:25.676905 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:25.676935 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: 10:52:25.676964 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: 10:52:25.676989 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:25.677013 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:25.677040 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:25.677066 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:25.677104 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:25.677132 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: 10:52:25.677157 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:25.677192 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 10:52:25.677218 drop table if exists "invoice_test"; [] gorptest: 10:52:25.678793 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:25.680241 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:25.681631 drop table if exists "invoice_override_test"; [] gorptest: 10:52:25.683236 drop table if exists "person_test"; [] gorptest: 10:52:25.684707 drop table if exists "ignored_column_test"; [] gorptest: 10:52:25.686135 drop table if exists "id_created_test"; [] gorptest: 10:52:25.687531 drop table if exists "type_conv_test"; [] gorptest: 10:52:25.688994 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:25.690410 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:25.693816 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:25.695299 drop table if exists "time_test"; [] gorptest: 10:52:25.696663 drop table if exists "id_created_test"; [] 2024/11/22 10:52:25 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:25.696998 drop table if exists "invoice_test"; [] gorptest: 10:52:25.697299 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:25.697329 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:25.697350 drop table if exists "invoice_override_test"; [] gorptest: 10:52:25.697370 drop table if exists "person_test"; [] gorptest: 10:52:25.697391 drop table if exists "ignored_column_test"; [] gorptest: 10:52:25.697409 drop table if exists "id_created_test"; [] gorptest: 10:52:25.697428 drop table if exists "type_conv_test"; [] gorptest: 10:52:25.697447 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:25.697466 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:25.697487 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:25.697507 drop table if exists "time_test"; [] gorptest: 10:52:25.697541 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:25.699908 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: 10:52:25.701665 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:25.703139 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:25.704924 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:25.706938 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:25.708524 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:25.710011 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:25.711523 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:25.713288 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:25.714911 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:25.716713 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:25.718251 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: 10:52:25.718311 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: 10:52:25.718332 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:25.718352 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: 10:52:25.718372 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: 10:52:25.718389 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:25.718405 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:25.718422 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:25.718439 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:25.718457 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:25.718474 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: 10:52:25.718491 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:25.718507 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 10:52:25.718561 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272745718536921 2:1732272745718536921 3:"Bob" 4:"Smith" 5:1] gorptest: 10:52:25.720477 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 10:52:25.722739 delete from "invoice_test"; [] gorptest: 10:52:25.724706 delete from "invoice_tag_test"; [] gorptest: 10:52:25.726411 delete from "alias_trans_field_test"; [] gorptest: 10:52:25.728182 delete from "invoice_override_test"; [] gorptest: 10:52:25.730224 delete from "person_test"; [] gorptest: 10:52:25.732024 delete from "ignored_column_test"; [] gorptest: 10:52:25.733845 delete from "id_created_test"; [] gorptest: 10:52:25.735446 delete from "type_conv_test"; [] gorptest: 10:52:25.737013 delete from "embedded_struct_test"; [] gorptest: 10:52:25.738680 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:25.740306 delete from "embedded_autoincr_test"; [] gorptest: 10:52:25.741883 delete from "time_test"; [] gorptest: 10:52:25.743656 delete from "id_created_test"; [] gorptest: 10:52:25.745348 SELECT * FROM person_test [] gorptest: 10:52:25.745572 SELECT * FROM invoice_test [] gorptest: 10:52:25.745632 drop table if exists "invoice_test"; [] gorptest: 10:52:25.747642 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:25.749562 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:25.751306 drop table if exists "invoice_override_test"; [] gorptest: 10:52:25.753410 drop table if exists "person_test"; [] gorptest: 10:52:25.755343 drop table if exists "ignored_column_test"; [] gorptest: 10:52:25.757237 drop table if exists "id_created_test"; [] gorptest: 10:52:25.758933 drop table if exists "type_conv_test"; [] gorptest: 10:52:25.760590 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:25.762335 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:25.764008 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:25.765683 drop table if exists "time_test"; [] gorptest: 10:52:25.767297 drop table if exists "id_created_test"; [] gorptest: 10:52:25.767491 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 10:52:25.769435 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2024-11-22 10:52:25 +0000 UTC] gorptest: 10:52:25.771202 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 10:52:25.771293 drop table if exists "WithCustomDate"; [] gorptest: 10:52:25.774172 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 10:52:25.776097 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 10:52:25.777977 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 10:52:25.780276 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 10:52:25.781875 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 10:52:25.783496 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 10:52:25.785161 drop table if exists "PersonUInt64"; [] gorptest: 10:52:25.786919 drop table if exists "PersonUInt32"; [] gorptest: 10:52:25.788587 drop table if exists "PersonUInt16"; [] gorptest: 10:52:25.790383 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 10:52:25.792463 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 10:52:25.794126 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 10:52:25.794217 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 10:52:25.794272 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 10:52:25.795971 drop table if exists "UniqueColumns"; [] gorptest: 10:52:25.797929 drop table if exists PersistentUser [] gorptest: 10:52:25.798131 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 10:52:25.799904 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 10:52:25.801853 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 10:52:25.801932 select * from PersistentUser [] gorptest: 10:52:25.802007 select * from PersistentUser [] gorptest: 10:52:25.802050 select * from PersistentUser [] gorptest: 10:52:25.802081 select Id from PersistentUser [] gorptest: 10:52:25.802115 select mykey from PersistentUser [] gorptest: 10:52:25.802136 select PassedTraining from PersistentUser [] gorptest: 10:52:25.802157 select Id from PersistentUser [] gorptest: 10:52:25.802179 drop table if exists "PersistentUser"; [] gorptest: 10:52:25.804165 drop table if exists PersistentUser [] gorptest: 10:52:25.804399 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 10:52:25.806199 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 10:52:25.807853 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 10:52:25.809546 select * from PersistentUser where mykey = ? [1:43] gorptest: 10:52:25.809646 select * from PersistentUser where mykey = ? [1:43] gorptest: 10:52:25.809690 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 10:52:25.809734 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 10:52:25.809775 drop table if exists "PersistentUser"; [] gorptest: 10:52:25.811630 drop table if exists PersistentUser [] gorptest: 10:52:25.811831 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 10:52:25.813576 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 10:52:25.815271 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 10:52:25.816958 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 10:52:25.817054 drop table if exists "PersistentUser"; [] 2024/11/22 10:52:25 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:25.818952 drop table if exists "invoice_test"; [] gorptest: 10:52:25.819117 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:25.819143 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:25.819157 drop table if exists "invoice_override_test"; [] gorptest: 10:52:25.819169 drop table if exists "person_test"; [] gorptest: 10:52:25.819182 drop table if exists "ignored_column_test"; [] gorptest: 10:52:25.819201 drop table if exists "id_created_test"; [] gorptest: 10:52:25.819224 drop table if exists "type_conv_test"; [] gorptest: 10:52:25.819237 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:25.819250 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:25.819274 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:25.819287 drop table if exists "time_test"; [] gorptest: 10:52:25.819306 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:25.821030 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: 10:52:25.822741 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:25.824444 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:25.826234 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:25.827930 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:25.829704 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:25.831401 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:25.833099 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:25.834747 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:25.836367 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:25.838103 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:25.839707 select * from invoice_test where id=99999 [] gorptest: 10:52:25.839804 select * from invoice_test where id=99999 [] gorptest: 10:52:25.839844 drop table if exists "invoice_test"; [] gorptest: 10:52:25.841516 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:25.843279 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:25.844993 drop table if exists "invoice_override_test"; [] gorptest: 10:52:25.846777 drop table if exists "person_test"; [] gorptest: 10:52:25.848449 drop table if exists "ignored_column_test"; [] gorptest: 10:52:25.850126 drop table if exists "id_created_test"; [] gorptest: 10:52:25.852317 drop table if exists "type_conv_test"; [] gorptest: 10:52:25.853990 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:25.855760 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:25.857518 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:25.859304 drop table if exists "time_test"; [] gorptest: 10:52:25.861053 drop table if exists "id_created_test"; [] gorptest: 10:52:25.861249 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 10:52:25.863359 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: 10:52:25.863434 drop table if exists "InvoicePersonView"; [] 2024/11/22 10:52:25 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:25.866039 drop table if exists "invoice_test"; [] gorptest: 10:52:25.866215 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:25.866235 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:25.866248 drop table if exists "invoice_override_test"; [] gorptest: 10:52:25.866277 drop table if exists "person_test"; [] gorptest: 10:52:25.866291 drop table if exists "ignored_column_test"; [] gorptest: 10:52:25.866304 drop table if exists "id_created_test"; [] gorptest: 10:52:25.866316 drop table if exists "type_conv_test"; [] gorptest: 10:52:25.866328 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:25.866359 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:25.866381 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:25.866393 drop table if exists "time_test"; [] gorptest: 10:52:25.866413 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:25.868358 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: 10:52:25.870176 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:25.872034 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:25.873992 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:25.875907 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:25.877773 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:25.879500 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:25.881318 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:25.883014 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:25.884761 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:25.886532 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:25.888338 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272745888318530 2:1732272745888318530 3:"Bob" 4:"Smith" 5:1] gorptest: 10:52:25.890065 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:52:25.890185 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1732272745888318530 2:1732272745888318530 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 10:52:25.891930 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1732272745888318530 2:1732272745888318530 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 10:52:25.891994 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:52:25.892042 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 10:52:25.892070 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:52:25.892108 drop table if exists "invoice_test"; [] gorptest: 10:52:25.893757 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:25.895409 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:25.897170 drop table if exists "invoice_override_test"; [] gorptest: 10:52:25.898976 drop table if exists "person_test"; [] gorptest: 10:52:25.900685 drop table if exists "ignored_column_test"; [] gorptest: 10:52:25.902809 drop table if exists "id_created_test"; [] gorptest: 10:52:25.904594 drop table if exists "type_conv_test"; [] gorptest: 10:52:25.906218 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:25.907913 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:25.909575 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:25.911189 drop table if exists "time_test"; [] gorptest: 10:52:25.912781 drop table if exists "id_created_test"; [] gorptest: 10:52:25.912986 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 10:52:25.914779 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 10:52:25.916408 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 10:52:25.916538 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: 10:52:25.918145 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 10:52:25.918225 drop table if exists "TableWithNull"; [] gorptest: 10:52:25.920057 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 10:52:25.922080 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 10:52:25.923904 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 10:52:25.923993 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 10:52:25.924047 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 10:52:25.924074 drop table if exists "Invoice"; [] 2024/11/22 10:52:25 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:25.926185 drop table if exists "invoice_test"; [] gorptest: 10:52:25.926359 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:25.926379 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:25.926392 drop table if exists "invoice_override_test"; [] gorptest: 10:52:25.926404 drop table if exists "person_test"; [] gorptest: 10:52:25.926416 drop table if exists "ignored_column_test"; [] gorptest: 10:52:25.926429 drop table if exists "id_created_test"; [] gorptest: 10:52:25.926441 drop table if exists "type_conv_test"; [] gorptest: 10:52:25.926461 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:25.926475 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:25.926487 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:25.926499 drop table if exists "time_test"; [] gorptest: 10:52:25.926518 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:25.928355 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: 10:52:25.930058 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:25.931814 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:25.933642 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:25.935360 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:25.937040 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:25.938811 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:25.940667 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:25.942347 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:25.944096 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:25.946024 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:25.948491 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272745948471204 2:1732272745948471204 3:"bob" 4:"smith" 5:1] gorptest: 10:52:25.950395 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 10:52:25.952322 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 10:52:25.952440 drop table if exists "invoice_test"; [] gorptest: 10:52:25.954392 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:25.956314 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:25.958073 drop table if exists "invoice_override_test"; [] gorptest: 10:52:25.959897 drop table if exists "person_test"; [] gorptest: 10:52:25.961771 drop table if exists "ignored_column_test"; [] gorptest: 10:52:25.963511 drop table if exists "id_created_test"; [] gorptest: 10:52:25.965176 drop table if exists "type_conv_test"; [] gorptest: 10:52:25.966900 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:25.968688 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:25.970356 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:25.972029 drop table if exists "time_test"; [] gorptest: 10:52:25.974124 drop table if exists "id_created_test"; [] 2024/11/22 10:52:25 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:25.974351 drop table if exists "invoice_test"; [] gorptest: 10:52:25.974518 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:25.974538 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:25.974550 drop table if exists "invoice_override_test"; [] gorptest: 10:52:25.974563 drop table if exists "person_test"; [] gorptest: 10:52:25.974576 drop table if exists "ignored_column_test"; [] gorptest: 10:52:25.974588 drop table if exists "id_created_test"; [] gorptest: 10:52:25.974601 drop table if exists "type_conv_test"; [] gorptest: 10:52:25.974613 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:25.974626 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:25.974638 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:25.974650 drop table if exists "time_test"; [] gorptest: 10:52:25.974671 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:25.976439 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: 10:52:25.978194 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:25.979974 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:25.982633 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:25.984437 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:25.986335 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:25.988063 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:25.989827 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:25.991580 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:25.993395 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:25.995117 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:25.996842 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272745996822808 2:1732272745996822808 3:"bob" 4:"smith" 5:1] gorptest: 10:52:25.998589 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:52:25.998676 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1732272745996822808 2:1732272745996822808 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 10:52:26.000368 select * from person_test where id = ? [1:1] gorptest: 10:52:26.000461 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 10:52:26.002102 drop table if exists "invoice_test"; [] gorptest: 10:52:26.003792 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.005528 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.007299 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.009153 drop table if exists "person_test"; [] gorptest: 10:52:26.010943 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.012631 drop table if exists "id_created_test"; [] gorptest: 10:52:26.014304 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.015989 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.017751 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.019462 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.021099 drop table if exists "time_test"; [] gorptest: 10:52:26.022779 drop table if exists "id_created_test"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.023032 drop table if exists "invoice_test"; [] gorptest: 10:52:26.023211 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.023231 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.023244 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.023274 drop table if exists "person_test"; [] gorptest: 10:52:26.023289 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.023301 drop table if exists "id_created_test"; [] gorptest: 10:52:26.023314 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.023326 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.023340 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.023352 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.023364 drop table if exists "time_test"; [] gorptest: 10:52:26.023386 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.025209 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: 10:52:26.026961 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.028761 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.030547 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.032310 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.034066 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.035719 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.037496 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.039232 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.041065 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.042854 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.044563 begin; [] gorptest: 10:52:26.044655 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 10:52:26.044802 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 10:52:26.044828 commit; [] gorptest: 10:52:26.049226 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 10:52:26.049378 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 10:52:26.049414 drop table if exists "invoice_test"; [] gorptest: 10:52:26.051307 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.053121 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.055432 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.057444 drop table if exists "person_test"; [] gorptest: 10:52:26.059319 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.061094 drop table if exists "id_created_test"; [] gorptest: 10:52:26.062883 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.064775 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.066623 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.068398 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.070183 drop table if exists "time_test"; [] gorptest: 10:52:26.071964 drop table if exists "id_created_test"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.072273 drop table if exists "invoice_test"; [] gorptest: 10:52:26.072456 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.072475 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.072489 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.072501 drop table if exists "person_test"; [] gorptest: 10:52:26.072514 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.072527 drop table if exists "id_created_test"; [] gorptest: 10:52:26.072539 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.072551 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.072564 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.072577 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.072589 drop table if exists "time_test"; [] gorptest: 10:52:26.072610 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.074603 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: 10:52:26.076457 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.078345 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.080108 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.081880 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.083480 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.085221 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.087024 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.089046 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.091032 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.092874 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.094719 begin; [] gorptest: 10:52:26.094809 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 10:52:26.094964 select memo from invoice_test [] gorptest: 10:52:26.095011 savepoint "foo" [1:] gorptest: 10:52:26.095018 select memo from invoice_test [] gorptest: 10:52:26.095060 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 10:52:26.095112 select memo from invoice_test [] gorptest: 10:52:26.095133 rollback to savepoint "foo" [1:] gorptest: 10:52:26.095142 select memo from invoice_test [] gorptest: 10:52:26.095153 rollback; [] gorptest: 10:52:26.095228 drop table if exists "invoice_test"; [] gorptest: 10:52:26.097060 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.098903 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.100753 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.102738 drop table if exists "person_test"; [] gorptest: 10:52:26.104584 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.106616 drop table if exists "id_created_test"; [] gorptest: 10:52:26.108466 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.110364 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.112263 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.114066 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.115934 drop table if exists "time_test"; [] gorptest: 10:52:26.117789 drop table if exists "id_created_test"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.118020 drop table if exists "invoice_test"; [] gorptest: 10:52:26.118248 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.118282 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.118295 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.118308 drop table if exists "person_test"; [] gorptest: 10:52:26.118320 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.118340 drop table if exists "id_created_test"; [] gorptest: 10:52:26.118354 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.118366 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.118379 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.118391 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.118403 drop table if exists "time_test"; [] gorptest: 10:52:26.118426 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.120372 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: 10:52:26.122345 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.124187 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.126230 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.128183 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.130641 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.132457 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.134533 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.136398 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.138320 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.140190 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.142154 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 10:52:26.144175 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 10:52:26.145942 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 10:52:26.147730 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 10:52:26.149456 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 10:52:26.151080 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 10:52:26.152778 drop table if exists "invoice_test"; [] gorptest: 10:52:26.154470 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.156099 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.157787 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.159413 drop table if exists "person_test"; [] gorptest: 10:52:26.161144 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.162858 drop table if exists "id_created_test"; [] gorptest: 10:52:26.164559 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.166249 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.168297 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.170509 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.172691 drop table if exists "time_test"; [] gorptest: 10:52:26.174930 drop table if exists "id_created_test"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.175338 drop table if exists "invoice_test"; [] gorptest: 10:52:26.175593 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.175627 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.175649 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.175670 drop table if exists "person_test"; [] gorptest: 10:52:26.175690 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.175711 drop table if exists "id_created_test"; [] gorptest: 10:52:26.175731 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.175762 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.175784 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.175804 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.175825 drop table if exists "time_test"; [] gorptest: 10:52:26.175856 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.178169 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: 10:52:26.180466 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.182750 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.185081 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.187362 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.190741 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.193221 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.195519 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.197788 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.200116 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.202171 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.204007 delete from invoice_test [] gorptest: 10:52:26.205804 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 10:52:26.207694 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 10:52:26.207810 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:1733868078519989326 2:3313823749933459664 3:"random 1125024116294139179" 4:0 5:true 6:1] gorptest: 10:52:26.210280 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 10:52:26.210369 select * from invoice_test [] gorptest: 10:52:26.210431 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 10:52:26.212369 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 10:52:26.212431 delete from invoice_tag_test [] gorptest: 10:52:26.214245 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: 10:52:26.216294 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 10:52:26.216421 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:2983415960227856095 2:3191681153277941553 3:"random 1812784437003519907" 4:33 5:false 6:1] gorptest: 10:52:26.218434 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 10:52:26.218510 select * from invoice_tag_test [] gorptest: 10:52:26.218576 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 10:52:26.220404 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 10:52:26.220462 delete from alias_trans_field_test [] gorptest: 10:52:26.222516 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 10:52:26.224459 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 10:52:26.224535 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 7095803474965251798" 2:1] gorptest: 10:52:26.226276 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 10:52:26.226338 select * from alias_trans_field_test [] gorptest: 10:52:26.226382 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 10:52:26.228352 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 10:52:26.228406 drop table if exists "invoice_test"; [] gorptest: 10:52:26.230271 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.232194 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.234168 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.236441 drop table if exists "person_test"; [] gorptest: 10:52:26.238452 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.240752 drop table if exists "id_created_test"; [] gorptest: 10:52:26.242754 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.244835 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.247245 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.249478 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.251446 drop table if exists "time_test"; [] gorptest: 10:52:26.253232 drop table if exists "id_created_test"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.253474 drop table if exists "invoice_test"; [] gorptest: 10:52:26.253647 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.253666 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.253679 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.253692 drop table if exists "person_test"; [] gorptest: 10:52:26.253704 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.253716 drop table if exists "id_created_test"; [] gorptest: 10:52:26.253729 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.253741 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.253754 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.253766 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.253779 drop table if exists "time_test"; [] gorptest: 10:52:26.253799 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.255699 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: 10:52:26.257507 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.259193 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.261384 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.263106 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.264847 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.266563 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.268428 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.270282 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.272163 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.273919 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.275673 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 10:52:26.277413 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 10:52:26.277497 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 10:52:26.279196 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 10:52:26.279293 drop table if exists "invoice_test"; [] gorptest: 10:52:26.281072 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.282888 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.284693 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.286615 drop table if exists "person_test"; [] gorptest: 10:52:26.288495 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.290350 drop table if exists "id_created_test"; [] gorptest: 10:52:26.292111 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.293925 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.295736 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.297473 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.299314 drop table if exists "time_test"; [] gorptest: 10:52:26.301083 drop table if exists "id_created_test"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.301324 drop table if exists "invoice_test"; [] gorptest: 10:52:26.301526 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.301547 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.301560 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.301573 drop table if exists "person_test"; [] gorptest: 10:52:26.301593 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.301606 drop table if exists "id_created_test"; [] gorptest: 10:52:26.301619 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.301631 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.301644 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.301656 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.301668 drop table if exists "time_test"; [] gorptest: 10:52:26.301690 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.303531 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: 10:52:26.305375 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.307219 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.309232 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.311153 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.312979 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.314787 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.316611 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.318318 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.319985 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.321649 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.323463 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: 10:52:26.325106 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 10:52:26.325223 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: 10:52:26.326809 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 10:52:26.326886 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 10:52:26.328409 drop table if exists "invoice_test"; [] gorptest: 10:52:26.329962 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.331531 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.333136 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.334827 drop table if exists "person_test"; [] gorptest: 10:52:26.336387 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.337947 drop table if exists "id_created_test"; [] gorptest: 10:52:26.340024 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.341725 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.343267 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.344822 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.346471 drop table if exists "time_test"; [] gorptest: 10:52:26.348043 drop table if exists "id_created_test"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.348304 drop table if exists "invoice_test"; [] gorptest: 10:52:26.348512 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.348533 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.348546 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.348559 drop table if exists "person_test"; [] gorptest: 10:52:26.348572 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.348584 drop table if exists "id_created_test"; [] gorptest: 10:52:26.348597 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.348609 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.348622 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.348634 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.348656 drop table if exists "time_test"; [] gorptest: 10:52:26.348685 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.350389 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: 10:52:26.352049 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.353674 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.355335 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.356961 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.358621 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.360185 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.361822 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.363535 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.365232 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.366895 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.368538 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 10:52:26.370152 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 10:52:26.370250 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 10:52:26.371748 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 10:52:26.371814 select * from embedded_struct_test [] gorptest: 10:52:26.371859 drop table if exists "invoice_test"; [] gorptest: 10:52:26.373506 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.375165 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.376689 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.378372 drop table if exists "person_test"; [] gorptest: 10:52:26.380094 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.381700 drop table if exists "id_created_test"; [] gorptest: 10:52:26.383375 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.385021 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.386594 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.388215 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.389839 drop table if exists "time_test"; [] gorptest: 10:52:26.391375 drop table if exists "id_created_test"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.391626 drop table if exists "invoice_test"; [] gorptest: 10:52:26.391789 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.391809 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.391821 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.391834 drop table if exists "person_test"; [] gorptest: 10:52:26.391846 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.391859 drop table if exists "id_created_test"; [] gorptest: 10:52:26.391871 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.391883 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.391896 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.391908 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.391920 drop table if exists "time_test"; [] gorptest: 10:52:26.391954 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.393611 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: 10:52:26.395137 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.397704 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.399553 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.401809 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.404053 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.406945 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.408906 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.410649 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.412210 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.413893 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.415603 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 10:52:26.417778 drop table if exists "invoice_test"; [] gorptest: 10:52:26.419694 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.421301 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.422787 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.424495 drop table if exists "person_test"; [] gorptest: 10:52:26.426082 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.427651 drop table if exists "id_created_test"; [] gorptest: 10:52:26.429644 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.431577 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.433152 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.434835 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.436425 drop table if exists "time_test"; [] gorptest: 10:52:26.438025 drop table if exists "id_created_test"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.438273 drop table if exists "invoice_test"; [] gorptest: 10:52:26.438439 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.438459 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.438472 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.438485 drop table if exists "person_test"; [] gorptest: 10:52:26.438498 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.438510 drop table if exists "id_created_test"; [] gorptest: 10:52:26.438523 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.438540 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.438555 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.438567 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.438579 drop table if exists "time_test"; [] gorptest: 10:52:26.438601 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.440856 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: 10:52:26.442862 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.444562 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.446707 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.448414 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.450190 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.451935 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.453912 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.455944 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.457988 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.460102 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.462273 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 10:52:26.464268 drop table if exists "invoice_test"; [] gorptest: 10:52:26.466231 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.468134 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.470067 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.472366 drop table if exists "person_test"; [] gorptest: 10:52:26.474280 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.476154 drop table if exists "id_created_test"; [] gorptest: 10:52:26.478114 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.479998 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.481919 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.483766 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.485777 drop table if exists "time_test"; [] gorptest: 10:52:26.487653 drop table if exists "id_created_test"; [] gorptest: 10:52:26.487869 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 10:52:26.490040 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: 10:52:26.491821 select Int64 from TableWithNull where Str='abc' [] gorptest: 10:52:26.491895 select count(*) from TableWithNull [] gorptest: 10:52:26.491925 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 10:52:26.491952 select Int64 from TableWithNull where Str='notfound' [] gorptest: 10:52:26.491975 select Int64 from TableWithNull where Str='abc' [] gorptest: 10:52:26.491996 select Float64 from TableWithNull where Str='abc' [] gorptest: 10:52:26.492016 select min(Float64) from TableWithNull [] gorptest: 10:52:26.492042 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 10:52:26.492066 select Float64 from TableWithNull where Str='notfound' [] gorptest: 10:52:26.492085 select Float64 from TableWithNull where Str='abc' [] gorptest: 10:52:26.492116 select Str from TableWithNull where Int64=? [1:78] gorptest: 10:52:26.492137 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 10:52:26.492156 select Str from TableWithNull where Int64=? [1:78] gorptest: 10:52:26.492176 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 10:52:26.492276 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 10:52:26.492320 select Str from TableWithNull where Int64=? [1:78] gorptest: 10:52:26.492344 drop table if exists "TableWithNull"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.494538 drop table if exists "invoice_test"; [] gorptest: 10:52:26.494700 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.494715 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.494728 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.494740 drop table if exists "person_test"; [] gorptest: 10:52:26.494753 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.494765 drop table if exists "id_created_test"; [] gorptest: 10:52:26.494778 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.494790 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.494803 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.494815 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.494827 drop table if exists "time_test"; [] gorptest: 10:52:26.494846 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.496843 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: 10:52:26.498791 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.500664 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.503112 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.505206 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.507291 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.509157 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.511190 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.513317 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.515549 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.517556 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.519418 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272746519399223 2:1732272746519399223 3:"Bob" 4:"Smith" 5:1] gorptest: 10:52:26.521212 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272746521199955 2:1732272746521199955 3:"Jane" 4:"Smith" 5:1] gorptest: 10:52:26.523114 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272746523101388 2:1732272746523101388 3:"Mike" 4:"Smith" 5:1] gorptest: 10:52:26.524872 drop table if exists "invoice_test"; [] gorptest: 10:52:26.526666 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.528418 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.530184 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.532156 drop table if exists "person_test"; [] gorptest: 10:52:26.534115 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.535898 drop table if exists "id_created_test"; [] gorptest: 10:52:26.537691 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.539511 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.541339 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.543116 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.545062 drop table if exists "time_test"; [] gorptest: 10:52:26.546940 drop table if exists "id_created_test"; [] gorptest: 10:52:26.547098 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 10:52:26.549193 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 10:52:26.551186 drop table if exists "string_pk_test"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.553677 drop table if exists "invoice_test"; [] gorptest: 10:52:26.553851 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.553871 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.553884 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.553897 drop table if exists "person_test"; [] gorptest: 10:52:26.553909 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.553921 drop table if exists "id_created_test"; [] gorptest: 10:52:26.553934 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.553946 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.553959 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.553971 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.553983 drop table if exists "time_test"; [] gorptest: 10:52:26.554003 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.556020 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: 10:52:26.557919 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.559778 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.561664 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.563480 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.565316 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.567163 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.569051 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.571012 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.572993 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.574861 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.576709 insert into "time_test" ("Id","Time") values (null,?); [1:2024-11-22 10:21:26.576688983 +0000 UTC] gorptest: 10:52:26.578588 insert into "time_test" ("Id","Time") values (null,?); [1:2024-11-22 10:22:27.576688983 +0000 UTC] gorptest: 10:52:26.580446 SELECT id FROM time_test WHERE Time < ? [1:2024-11-22 10:22:26.576688983 +0000 UTC] gorptest: 10:52:26.580531 drop table if exists "invoice_test"; [] gorptest: 10:52:26.582352 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.584112 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.586210 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.588201 drop table if exists "person_test"; [] gorptest: 10:52:26.590048 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.591910 drop table if exists "id_created_test"; [] gorptest: 10:52:26.593678 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.595494 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.597283 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.599000 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.600798 drop table if exists "time_test"; [] gorptest: 10:52:26.602731 drop table if exists "id_created_test"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.602956 drop table if exists "invoice_test"; [] gorptest: 10:52:26.603128 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.603147 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.603160 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.603173 drop table if exists "person_test"; [] gorptest: 10:52:26.603185 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.603197 drop table if exists "id_created_test"; [] gorptest: 10:52:26.603210 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.603222 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.603235 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.603247 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.603329 drop table if exists "time_test"; [] gorptest: 10:52:26.603352 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.606624 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: 10:52:26.608554 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.610778 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.612580 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.614383 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.616350 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.618136 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.619989 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.621803 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.623681 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.625447 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.627119 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272746627100914 2:1732272746627100914 3:"bob" 4:"smith" 5:1] gorptest: 10:52:26.629001 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 10:52:26.630705 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 10:52:26.630815 drop table if exists "invoice_test"; [] gorptest: 10:52:26.632526 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.634233 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.635961 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.637887 drop table if exists "person_test"; [] gorptest: 10:52:26.639718 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.641312 drop table if exists "id_created_test"; [] gorptest: 10:52:26.642870 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.644496 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.646217 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.647863 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.649667 drop table if exists "time_test"; [] gorptest: 10:52:26.651388 drop table if exists "id_created_test"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.651588 drop table if exists "invoice_test"; [] gorptest: 10:52:26.651747 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.651762 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.651775 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.651787 drop table if exists "person_test"; [] gorptest: 10:52:26.651799 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.651812 drop table if exists "id_created_test"; [] gorptest: 10:52:26.651824 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.651836 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.651849 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.651861 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.651873 drop table if exists "time_test"; [] gorptest: 10:52:26.651893 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.653677 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: 10:52:26.655418 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.657060 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.658801 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.660583 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.662217 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.663937 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.665667 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.667390 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.669162 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.673568 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.697322 drop table if exists "invoice_test"; [] gorptest: 10:52:26.697501 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.697516 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.697529 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.697542 drop table if exists "person_test"; [] gorptest: 10:52:26.697554 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.697567 drop table if exists "id_created_test"; [] gorptest: 10:52:26.697579 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.697591 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.697604 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.697616 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.697628 drop table if exists "time_test"; [] gorptest: 10:52:26.697647 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.699395 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: 10:52:26.701132 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.703039 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.704797 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.706504 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.708554 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.710331 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.712037 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.713877 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.715676 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.717380 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.719132 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272746719112786 2:1732272746719112786 3:"bob" 4:"smith" 5:1] gorptest: 10:52:26.720802 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272746720789706 2:1732272746720789706 3:"jane" 4:"doe" 5:1] gorptest: 10:52:26.722467 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:52:26.722550 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 10:52:26.722600 select * from person_test where Id=? [1:1] gorptest: 10:52:26.722667 select * from person_test order by fname asc [] gorptest: 10:52:26.722746 drop table if exists "invoice_test"; [] gorptest: 10:52:26.724796 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.726796 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.728512 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.730379 drop table if exists "person_test"; [] gorptest: 10:52:26.732468 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.734159 drop table if exists "id_created_test"; [] gorptest: 10:52:26.735817 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.737720 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.739415 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.741051 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.742754 drop table if exists "time_test"; [] gorptest: 10:52:26.744375 drop table if exists "id_created_test"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.744621 drop table if exists "invoice_test"; [] gorptest: 10:52:26.744843 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.744868 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.744889 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.744910 drop table if exists "person_test"; [] gorptest: 10:52:26.744929 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.744949 drop table if exists "id_created_test"; [] gorptest: 10:52:26.744967 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.744987 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.745007 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.745028 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.745048 drop table if exists "time_test"; [] gorptest: 10:52:26.745082 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.747432 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: 10:52:26.749201 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.751010 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.753143 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.755034 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.756884 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.759042 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.760950 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.762728 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.764804 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.766552 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.768397 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272746768368321 2:1732272746768368321 3:"bob" 4:"smith" 5:1] gorptest: 10:52:26.770402 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:52:26.770523 select * from person_test where Id=? [1:1] gorptest: 10:52:26.770619 select FName from person_test where Id=? [1:1] gorptest: 10:52:26.770679 select * from person_test where Id=? [1:1] gorptest: 10:52:26.770760 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 10:52:26.770830 select * from person_test where Id=? [1:-2222] gorptest: 10:52:26.770904 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272746770891451 2:1732272746770891451 3:"bob" 4:"smith" 5:1] gorptest: 10:52:26.772680 select * from person_test where Fname='bob' [] gorptest: 10:52:26.772836 select * from person_test where Id=-123 [] gorptest: 10:52:26.772883 select * from person_test where Id=-123 [] gorptest: 10:52:26.772919 select * from person_test where Id=-123 [] gorptest: 10:52:26.772950 select * from person_test where Id=-123 [] gorptest: 10:52:26.772983 drop table if exists "invoice_test"; [] gorptest: 10:52:26.775001 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.776837 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.778513 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.780584 drop table if exists "person_test"; [] gorptest: 10:52:26.782320 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.783981 drop table if exists "id_created_test"; [] gorptest: 10:52:26.785682 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.787728 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.789484 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.791142 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.793184 drop table if exists "time_test"; [] gorptest: 10:52:26.794824 drop table if exists "id_created_test"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.795140 drop table if exists "invoice_test"; [] gorptest: 10:52:26.795416 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.795449 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.795470 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.795499 drop table if exists "person_test"; [] gorptest: 10:52:26.795520 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.795539 drop table if exists "id_created_test"; [] gorptest: 10:52:26.795560 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.795593 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.795616 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.795636 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.795655 drop table if exists "time_test"; [] gorptest: 10:52:26.795689 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.797527 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: 10:52:26.799618 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.801339 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.803400 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.805128 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.806830 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.808923 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.810633 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.813627 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.815398 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.817392 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.819131 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 10:52:26.820845 select * from id_created_test where Id=1 [] gorptest: 10:52:26.820984 SELECT *, 1 AS external FROM id_created_test [] gorptest: 10:52:26.821102 drop table if exists "invoice_test"; [] gorptest: 10:52:26.823493 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.825186 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.826861 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.829050 drop table if exists "person_test"; [] gorptest: 10:52:26.830690 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.832308 drop table if exists "id_created_test"; [] gorptest: 10:52:26.834363 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.836073 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.837709 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.839372 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.840963 drop table if exists "time_test"; [] gorptest: 10:52:26.842539 drop table if exists "id_created_test"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.842857 drop table if exists "invoice_test"; [] gorptest: 10:52:26.843119 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.843148 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.843171 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.843191 drop table if exists "person_test"; [] gorptest: 10:52:26.843211 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.843230 drop table if exists "id_created_test"; [] gorptest: 10:52:26.843250 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.843286 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.843307 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.843327 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.843347 drop table if exists "time_test"; [] gorptest: 10:52:26.843388 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.845177 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: 10:52:26.847331 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.848968 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.850753 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.852402 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.854106 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.855820 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.857512 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.859173 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.860839 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.862489 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.864020 drop table if exists "invoice_test"; [] gorptest: 10:52:26.865572 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.867080 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.868800 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.870608 drop table if exists "person_test"; [] gorptest: 10:52:26.872236 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.873877 drop table if exists "id_created_test"; [] gorptest: 10:52:26.875580 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.877243 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.878902 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.880551 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.882284 drop table if exists "time_test"; [] gorptest: 10:52:26.883940 drop table if exists "id_created_test"; [] gorptest: 10:52:26.884017 drop table if exists "single_column_table"; [] gorptest: 10:52:26.884064 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: 10:52:26.885864 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: 10:52:26.887651 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.889375 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: 10:52:26.891148 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: 10:52:26.893241 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.894931 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.896667 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.898341 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.900024 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.901748 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: 10:52:26.903455 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.905136 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 10:52:26.905202 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 10:52:26.906963 delete from "invoice_test"; [] gorptest: 10:52:26.908566 delete from "invoice_tag_test"; [] gorptest: 10:52:26.910167 delete from "alias_trans_field_test"; [] gorptest: 10:52:26.911859 delete from "invoice_override_test"; [] gorptest: 10:52:26.913513 delete from "person_test"; [] gorptest: 10:52:26.915076 delete from "ignored_column_test"; [] gorptest: 10:52:26.916633 delete from "id_created_test"; [] gorptest: 10:52:26.918203 delete from "type_conv_test"; [] gorptest: 10:52:26.919820 delete from "embedded_struct_test"; [] gorptest: 10:52:26.921462 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.923100 delete from "embedded_autoincr_test"; [] gorptest: 10:52:26.924758 delete from "time_test"; [] gorptest: 10:52:26.926433 delete from "id_created_test"; [] gorptest: 10:52:26.928038 delete from "single_column_table"; [] gorptest: 10:52:26.929728 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 10:52:26.929833 drop table if exists "invoice_test"; [] gorptest: 10:52:26.931596 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.933244 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.934969 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.936831 drop table if exists "person_test"; [] gorptest: 10:52:26.938526 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.940102 drop table if exists "id_created_test"; [] gorptest: 10:52:26.941697 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.943281 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.944875 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.946463 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.948014 drop table if exists "time_test"; [] gorptest: 10:52:26.949592 drop table if exists "id_created_test"; [] gorptest: 10:52:26.949647 drop table if exists "single_column_table"; [] 2024/11/22 10:52:26 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:26.951582 drop table if exists "invoice_test"; [] gorptest: 10:52:26.951754 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.951773 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.951786 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.951799 drop table if exists "person_test"; [] gorptest: 10:52:26.951811 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.951824 drop table if exists "id_created_test"; [] gorptest: 10:52:26.951836 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.951854 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.951868 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.951881 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.951893 drop table if exists "time_test"; [] gorptest: 10:52:26.951916 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.953947 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: 10:52:26.955656 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:26.957518 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:26.959242 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:26.960874 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.962466 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:26.964064 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:26.965687 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:26.967299 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:26.968914 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:26.970551 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:26.972270 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 10:52:26.973915 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 10:52:26.975494 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 10:52:26.977032 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 10:52:26.977166 begin; [] gorptest: 10:52:26.977195 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 10:52:26.977304 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 10:52:26.977560 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 10:52:26.977617 commit; [] gorptest: 10:52:26.979060 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 10:52:26.979159 drop table if exists "invoice_test"; [] gorptest: 10:52:26.980958 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:26.982522 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:26.984133 drop table if exists "invoice_override_test"; [] gorptest: 10:52:26.985931 drop table if exists "person_test"; [] gorptest: 10:52:26.987518 drop table if exists "ignored_column_test"; [] gorptest: 10:52:26.989061 drop table if exists "id_created_test"; [] gorptest: 10:52:26.990614 drop table if exists "type_conv_test"; [] gorptest: 10:52:26.992154 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:26.993706 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:26.995265 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:26.996862 drop table if exists "time_test"; [] gorptest: 10:52:26.998451 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 1.347s gopkg.in/gorp.v1 2024/11/22 10:52:27 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:27.882106 drop table if exists "invoice_test"; [] gorptest: 10:52:27.882633 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:27.882657 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:27.882671 drop table if exists "invoice_override_test"; [] gorptest: 10:52:27.882684 drop table if exists "person_test"; [] gorptest: 10:52:27.882696 drop table if exists "ignored_column_test"; [] gorptest: 10:52:27.882709 drop table if exists "id_created_test"; [] gorptest: 10:52:27.882722 drop table if exists "type_conv_test"; [] gorptest: 10:52:27.882734 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:27.882747 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:27.882759 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:27.882772 drop table if exists "time_test"; [] gorptest: 10:52:27.882802 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:27.885035 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: 10:52:27.886838 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:27.888596 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:27.890381 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:27.892038 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:27.893741 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:27.895420 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:27.897133 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:27.898840 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:27.900522 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:27.902218 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:27.903924 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: 10:52:27.903973 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: 10:52:27.903993 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:27.904013 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: 10:52:27.904033 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: 10:52:27.904049 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:27.904065 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:27.904082 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:27.904109 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:27.904127 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:27.904143 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: 10:52:27.904159 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:27.904178 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 10:52:27.904193 drop table if exists "invoice_test"; [] gorptest: 10:52:27.906419 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:27.908115 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:27.909895 drop table if exists "invoice_override_test"; [] gorptest: 10:52:27.911730 drop table if exists "person_test"; [] gorptest: 10:52:27.913358 drop table if exists "ignored_column_test"; [] gorptest: 10:52:27.914988 drop table if exists "id_created_test"; [] gorptest: 10:52:27.916741 drop table if exists "type_conv_test"; [] gorptest: 10:52:27.918352 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:27.919993 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:27.921618 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:27.923282 drop table if exists "time_test"; [] gorptest: 10:52:27.924896 drop table if exists "id_created_test"; [] 2024/11/22 10:52:27 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:27.925177 drop table if exists "invoice_test"; [] gorptest: 10:52:27.925397 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:27.925418 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:27.925431 drop table if exists "invoice_override_test"; [] gorptest: 10:52:27.925444 drop table if exists "person_test"; [] gorptest: 10:52:27.925456 drop table if exists "ignored_column_test"; [] gorptest: 10:52:27.925469 drop table if exists "id_created_test"; [] gorptest: 10:52:27.925481 drop table if exists "type_conv_test"; [] gorptest: 10:52:27.925493 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:27.925506 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:27.925518 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:27.925530 drop table if exists "time_test"; [] gorptest: 10:52:27.925551 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:27.927395 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: 10:52:27.929068 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:27.930750 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:27.932522 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:27.934132 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:27.935827 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:27.937493 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:27.939699 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:27.941385 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:27.943036 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:27.944698 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:27.946384 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: 10:52:27.946432 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: 10:52:27.946453 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:27.946473 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: 10:52:27.946492 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: 10:52:27.946508 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:27.946524 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:27.946542 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:27.946558 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:27.946575 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:27.946593 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: 10:52:27.946610 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:27.946626 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 10:52:27.946680 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272747946657036 2:1732272747946657036 3:"Bob" 4:"Smith" 5:1] gorptest: 10:52:27.948396 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 10:52:27.950035 delete from "invoice_test"; [] gorptest: 10:52:27.951530 delete from "invoice_tag_test"; [] gorptest: 10:52:27.953048 delete from "alias_trans_field_test"; [] gorptest: 10:52:27.954552 delete from "invoice_override_test"; [] gorptest: 10:52:27.956155 delete from "person_test"; [] gorptest: 10:52:27.957746 delete from "ignored_column_test"; [] gorptest: 10:52:27.959575 delete from "id_created_test"; [] gorptest: 10:52:27.961078 delete from "type_conv_test"; [] gorptest: 10:52:27.962575 delete from "embedded_struct_test"; [] gorptest: 10:52:27.964057 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:27.965654 delete from "embedded_autoincr_test"; [] gorptest: 10:52:27.967703 delete from "time_test"; [] gorptest: 10:52:27.969748 delete from "id_created_test"; [] gorptest: 10:52:27.971642 SELECT * FROM person_test [] gorptest: 10:52:27.971832 SELECT * FROM invoice_test [] gorptest: 10:52:27.971953 drop table if exists "invoice_test"; [] gorptest: 10:52:27.973767 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:27.975388 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:27.977148 drop table if exists "invoice_override_test"; [] gorptest: 10:52:27.979121 drop table if exists "person_test"; [] gorptest: 10:52:27.981561 drop table if exists "ignored_column_test"; [] gorptest: 10:52:27.983666 drop table if exists "id_created_test"; [] gorptest: 10:52:27.985420 drop table if exists "type_conv_test"; [] gorptest: 10:52:27.986995 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:27.988629 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:27.990237 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:27.991883 drop table if exists "time_test"; [] gorptest: 10:52:27.993493 drop table if exists "id_created_test"; [] gorptest: 10:52:27.993686 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 10:52:27.995569 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2024-11-22 10:52:27 +0000 UTC] gorptest: 10:52:27.997242 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 10:52:27.997347 drop table if exists "WithCustomDate"; [] gorptest: 10:52:27.999067 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 10:52:28.001006 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 10:52:28.002702 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 10:52:28.004292 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 10:52:28.005915 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 10:52:28.007502 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 10:52:28.009045 drop table if exists "PersonUInt64"; [] gorptest: 10:52:28.010644 drop table if exists "PersonUInt32"; [] gorptest: 10:52:28.012215 drop table if exists "PersonUInt16"; [] gorptest: 10:52:28.014064 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 10:52:28.015896 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 10:52:28.017443 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 10:52:28.017535 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 10:52:28.017579 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 10:52:28.019082 drop table if exists "UniqueColumns"; [] gorptest: 10:52:28.020933 drop table if exists PersistentUser [] gorptest: 10:52:28.021158 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 10:52:28.022839 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 10:52:28.024390 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 10:52:28.024473 select * from PersistentUser [] gorptest: 10:52:28.024550 select * from PersistentUser [] gorptest: 10:52:28.024595 select * from PersistentUser [] gorptest: 10:52:28.024624 select Id from PersistentUser [] gorptest: 10:52:28.024646 select mykey from PersistentUser [] gorptest: 10:52:28.024674 select PassedTraining from PersistentUser [] gorptest: 10:52:28.024694 select Id from PersistentUser [] gorptest: 10:52:28.024716 drop table if exists "PersistentUser"; [] gorptest: 10:52:28.026394 drop table if exists PersistentUser [] gorptest: 10:52:28.026596 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 10:52:28.028397 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 10:52:28.029972 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 10:52:28.031830 select * from PersistentUser where mykey = ? [1:43] gorptest: 10:52:28.031936 select * from PersistentUser where mykey = ? [1:43] gorptest: 10:52:28.031982 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 10:52:28.032026 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 10:52:28.032065 drop table if exists "PersistentUser"; [] gorptest: 10:52:28.033862 drop table if exists PersistentUser [] gorptest: 10:52:28.034070 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 10:52:28.035812 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 10:52:28.037483 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 10:52:28.039064 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 10:52:28.039171 drop table if exists "PersistentUser"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.041006 drop table if exists "invoice_test"; [] gorptest: 10:52:28.041179 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.041204 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.041218 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.041231 drop table if exists "person_test"; [] gorptest: 10:52:28.041244 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.041281 drop table if exists "id_created_test"; [] gorptest: 10:52:28.041296 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.041308 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.041321 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.041333 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.041346 drop table if exists "time_test"; [] gorptest: 10:52:28.041366 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.043138 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: 10:52:28.044897 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.046641 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.048439 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.050514 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.052308 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.054003 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.055869 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.057618 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.059367 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.061978 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.063878 select * from invoice_test where id=99999 [] gorptest: 10:52:28.063984 select * from invoice_test where id=99999 [] gorptest: 10:52:28.064021 drop table if exists "invoice_test"; [] gorptest: 10:52:28.065632 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.067230 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.068799 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.070507 drop table if exists "person_test"; [] gorptest: 10:52:28.072168 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.073980 drop table if exists "id_created_test"; [] gorptest: 10:52:28.075580 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.077141 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.078720 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.080318 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.081960 drop table if exists "time_test"; [] gorptest: 10:52:28.083547 drop table if exists "id_created_test"; [] gorptest: 10:52:28.083742 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 10:52:28.085780 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: 10:52:28.085855 drop table if exists "InvoicePersonView"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.088064 drop table if exists "invoice_test"; [] gorptest: 10:52:28.088240 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.088274 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.088288 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.088301 drop table if exists "person_test"; [] gorptest: 10:52:28.088314 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.088326 drop table if exists "id_created_test"; [] gorptest: 10:52:28.088339 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.088351 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.088364 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.088376 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.088388 drop table if exists "time_test"; [] gorptest: 10:52:28.088426 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.090200 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: 10:52:28.091974 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.093711 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.095441 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.097211 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.098977 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.100746 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.102541 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.104497 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.106402 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.108432 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.110178 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272748110159227 2:1732272748110159227 3:"Bob" 4:"Smith" 5:1] gorptest: 10:52:28.111926 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:52:28.112046 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1732272748110159227 2:1732272748110159227 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 10:52:28.113787 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1732272748110159227 2:1732272748110159227 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 10:52:28.113851 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:52:28.113902 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 10:52:28.113930 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:52:28.113969 drop table if exists "invoice_test"; [] gorptest: 10:52:28.115682 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.117346 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.118976 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.121203 drop table if exists "person_test"; [] gorptest: 10:52:28.122979 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.124567 drop table if exists "id_created_test"; [] gorptest: 10:52:28.126157 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.127845 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.129562 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.131266 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.132990 drop table if exists "time_test"; [] gorptest: 10:52:28.134708 drop table if exists "id_created_test"; [] gorptest: 10:52:28.134935 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 10:52:28.136818 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 10:52:28.139041 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 10:52:28.139188 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: 10:52:28.140804 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 10:52:28.140889 drop table if exists "TableWithNull"; [] gorptest: 10:52:28.142716 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 10:52:28.144909 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 10:52:28.146630 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 10:52:28.146727 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 10:52:28.146784 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 10:52:28.146810 drop table if exists "Invoice"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.148871 drop table if exists "invoice_test"; [] gorptest: 10:52:28.149035 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.149050 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.149063 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.149075 drop table if exists "person_test"; [] gorptest: 10:52:28.149100 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.149114 drop table if exists "id_created_test"; [] gorptest: 10:52:28.149126 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.149146 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.149159 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.149172 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.149184 drop table if exists "time_test"; [] gorptest: 10:52:28.149204 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.150916 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: 10:52:28.152659 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.154387 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.156148 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.157804 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.159808 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.161531 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.163271 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.164968 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.166745 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.168461 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.170208 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272748170186523 2:1732272748170186523 3:"bob" 4:"smith" 5:1] gorptest: 10:52:28.171992 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 10:52:28.173673 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 10:52:28.173813 drop table if exists "invoice_test"; [] gorptest: 10:52:28.175634 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.177315 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.178993 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.180864 drop table if exists "person_test"; [] gorptest: 10:52:28.182783 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.184606 drop table if exists "id_created_test"; [] gorptest: 10:52:28.186398 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.188433 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.190487 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.192228 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.194339 drop table if exists "time_test"; [] gorptest: 10:52:28.196334 drop table if exists "id_created_test"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.196573 drop table if exists "invoice_test"; [] gorptest: 10:52:28.196773 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.196793 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.196806 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.196819 drop table if exists "person_test"; [] gorptest: 10:52:28.196832 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.196845 drop table if exists "id_created_test"; [] gorptest: 10:52:28.196858 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.196870 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.196883 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.196895 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.196908 drop table if exists "time_test"; [] gorptest: 10:52:28.196930 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.198815 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: 10:52:28.201114 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.203233 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.205402 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.207310 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.209275 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.211373 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.213416 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.215459 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.217469 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.219416 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.221493 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272748221471415 2:1732272748221471415 3:"bob" 4:"smith" 5:1] gorptest: 10:52:28.223352 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:52:28.223471 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1732272748221471415 2:1732272748221471415 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 10:52:28.225285 select * from person_test where id = ? [1:1] gorptest: 10:52:28.225391 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 10:52:28.227163 drop table if exists "invoice_test"; [] gorptest: 10:52:28.229041 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.230837 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.232719 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.234709 drop table if exists "person_test"; [] gorptest: 10:52:28.236713 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.238515 drop table if exists "id_created_test"; [] gorptest: 10:52:28.240433 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.242204 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.243991 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.245791 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.247719 drop table if exists "time_test"; [] gorptest: 10:52:28.249534 drop table if exists "id_created_test"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.249785 drop table if exists "invoice_test"; [] gorptest: 10:52:28.249975 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.249996 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.250009 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.250021 drop table if exists "person_test"; [] gorptest: 10:52:28.250034 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.250047 drop table if exists "id_created_test"; [] gorptest: 10:52:28.250060 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.250072 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.250086 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.250109 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.250121 drop table if exists "time_test"; [] gorptest: 10:52:28.250142 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.252049 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: 10:52:28.253892 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.255983 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.258011 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.260205 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.262081 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.263935 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.265851 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.267739 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.270576 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.272366 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.274127 begin; [] gorptest: 10:52:28.274199 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 10:52:28.274416 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 10:52:28.274443 commit; [] gorptest: 10:52:28.276158 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 10:52:28.276246 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 10:52:28.276298 drop table if exists "invoice_test"; [] gorptest: 10:52:28.278158 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.280023 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.282207 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.283958 drop table if exists "person_test"; [] gorptest: 10:52:28.285683 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.287402 drop table if exists "id_created_test"; [] gorptest: 10:52:28.289138 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.290882 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.292602 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.294487 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.296304 drop table if exists "time_test"; [] gorptest: 10:52:28.298102 drop table if exists "id_created_test"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.298444 drop table if exists "invoice_test"; [] gorptest: 10:52:28.298646 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.298662 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.298676 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.298689 drop table if exists "person_test"; [] gorptest: 10:52:28.298701 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.298714 drop table if exists "id_created_test"; [] gorptest: 10:52:28.298727 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.298739 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.298752 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.298765 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.298778 drop table if exists "time_test"; [] gorptest: 10:52:28.298799 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.300820 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: 10:52:28.302761 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.304648 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.306695 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.308633 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.310556 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.312449 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.314410 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.316320 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.318845 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.320794 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.322760 begin; [] gorptest: 10:52:28.322853 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 10:52:28.323014 select memo from invoice_test [] gorptest: 10:52:28.323143 savepoint "foo" [1:] gorptest: 10:52:28.323208 select memo from invoice_test [] gorptest: 10:52:28.323334 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 10:52:28.323405 select memo from invoice_test [] gorptest: 10:52:28.323433 rollback to savepoint "foo" [1:] gorptest: 10:52:28.323452 select memo from invoice_test [] gorptest: 10:52:28.323474 rollback; [] gorptest: 10:52:28.323583 drop table if exists "invoice_test"; [] gorptest: 10:52:28.326156 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.328004 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.329846 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.331843 drop table if exists "person_test"; [] gorptest: 10:52:28.333677 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.335814 drop table if exists "id_created_test"; [] gorptest: 10:52:28.337612 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.339394 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.341165 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.343046 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.345560 drop table if exists "time_test"; [] gorptest: 10:52:28.347336 drop table if exists "id_created_test"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.347653 drop table if exists "invoice_test"; [] gorptest: 10:52:28.347880 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.347901 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.347914 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.347927 drop table if exists "person_test"; [] gorptest: 10:52:28.347939 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.347952 drop table if exists "id_created_test"; [] gorptest: 10:52:28.347964 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.347977 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.347990 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.348003 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.348015 drop table if exists "time_test"; [] gorptest: 10:52:28.348038 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.349925 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: 10:52:28.352205 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.354233 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.356176 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.358054 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.359795 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.361603 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.363367 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.365202 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.366993 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.368773 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.370598 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 10:52:28.372423 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 10:52:28.374178 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 10:52:28.375881 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 10:52:28.377664 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 10:52:28.379367 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 10:52:28.381058 drop table if exists "invoice_test"; [] gorptest: 10:52:28.383024 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.384906 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.386743 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.389237 drop table if exists "person_test"; [] gorptest: 10:52:28.391038 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.392899 drop table if exists "id_created_test"; [] gorptest: 10:52:28.394622 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.396415 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.398128 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.399888 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.401796 drop table if exists "time_test"; [] gorptest: 10:52:28.403560 drop table if exists "id_created_test"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.403808 drop table if exists "invoice_test"; [] gorptest: 10:52:28.403988 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.404009 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.404022 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.404035 drop table if exists "person_test"; [] gorptest: 10:52:28.404048 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.404060 drop table if exists "id_created_test"; [] gorptest: 10:52:28.404073 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.404085 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.404107 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.404129 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.404150 drop table if exists "time_test"; [] gorptest: 10:52:28.404171 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.405976 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: 10:52:28.407783 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.409511 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.411369 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.413591 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.415365 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.417107 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.419385 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.421217 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.423549 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.425663 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.427544 delete from invoice_test [] gorptest: 10:52:28.429906 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 10:52:28.431762 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 10:52:28.431891 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:2417651741345404288 2:2786151506631061826 3:"random 3558019457519838852" 4:0 5:true 6:1] gorptest: 10:52:28.433635 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 10:52:28.433717 select * from invoice_test [] gorptest: 10:52:28.433779 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 10:52:28.435887 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 10:52:28.435951 delete from invoice_tag_test [] gorptest: 10:52:28.437587 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: 10:52:28.439423 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 10:52:28.439517 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:318417226861881289 2:6471870937453075644 3:"random 5969923203789616227" 4:33 5:false 6:1] gorptest: 10:52:28.441592 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 10:52:28.441665 select * from invoice_tag_test [] gorptest: 10:52:28.441739 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 10:52:28.443377 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 10:52:28.443436 delete from alias_trans_field_test [] gorptest: 10:52:28.445056 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 10:52:28.447350 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 10:52:28.447438 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 8828115451843021594" 2:1] gorptest: 10:52:28.449084 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 10:52:28.449159 select * from alias_trans_field_test [] gorptest: 10:52:28.449205 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 10:52:28.450862 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 10:52:28.450920 drop table if exists "invoice_test"; [] gorptest: 10:52:28.452791 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.454745 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.456585 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.458416 drop table if exists "person_test"; [] gorptest: 10:52:28.460200 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.462378 drop table if exists "id_created_test"; [] gorptest: 10:52:28.464404 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.466167 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.468418 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.470372 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.472422 drop table if exists "time_test"; [] gorptest: 10:52:28.474419 drop table if exists "id_created_test"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.474662 drop table if exists "invoice_test"; [] gorptest: 10:52:28.474855 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.474875 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.474888 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.474901 drop table if exists "person_test"; [] gorptest: 10:52:28.474913 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.474926 drop table if exists "id_created_test"; [] gorptest: 10:52:28.474938 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.474950 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.474963 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.474986 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.474998 drop table if exists "time_test"; [] gorptest: 10:52:28.475020 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.478337 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: 10:52:28.480175 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.482148 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.484408 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.486492 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.488595 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.490636 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.492544 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.494698 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.496727 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.498873 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.501054 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 10:52:28.502956 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 10:52:28.503040 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 10:52:28.505084 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 10:52:28.505156 drop table if exists "invoice_test"; [] gorptest: 10:52:28.507281 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.509355 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.511527 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.513478 drop table if exists "person_test"; [] gorptest: 10:52:28.515689 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.518027 drop table if exists "id_created_test"; [] gorptest: 10:52:28.519926 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.522115 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.524304 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.526559 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.528741 drop table if exists "time_test"; [] gorptest: 10:52:28.530985 drop table if exists "id_created_test"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.531252 drop table if exists "invoice_test"; [] gorptest: 10:52:28.531458 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.531479 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.531492 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.531505 drop table if exists "person_test"; [] gorptest: 10:52:28.531517 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.531537 drop table if exists "id_created_test"; [] gorptest: 10:52:28.531551 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.531563 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.531576 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.531589 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.531601 drop table if exists "time_test"; [] gorptest: 10:52:28.531623 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.533910 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: 10:52:28.536025 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.538016 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.540037 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.542247 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.544204 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.546345 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.548236 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.550228 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.552249 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.554308 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.556420 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: 10:52:28.558505 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 10:52:28.558628 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: 10:52:28.560525 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 10:52:28.560622 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 10:52:28.562552 drop table if exists "invoice_test"; [] gorptest: 10:52:28.564546 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.566373 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.568309 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.570550 drop table if exists "person_test"; [] gorptest: 10:52:28.572603 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.574617 drop table if exists "id_created_test"; [] gorptest: 10:52:28.576577 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.578783 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.580920 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.583019 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.585029 drop table if exists "time_test"; [] gorptest: 10:52:28.587187 drop table if exists "id_created_test"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.587462 drop table if exists "invoice_test"; [] gorptest: 10:52:28.587679 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.587700 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.587714 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.587726 drop table if exists "person_test"; [] gorptest: 10:52:28.587739 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.587752 drop table if exists "id_created_test"; [] gorptest: 10:52:28.587764 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.587777 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.587789 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.587802 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.587814 drop table if exists "time_test"; [] gorptest: 10:52:28.587835 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.589921 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: 10:52:28.592026 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.593834 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.595987 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.597746 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.599538 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.601724 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.603516 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.605251 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.607203 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.609529 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.611796 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 10:52:28.613813 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 10:52:28.613912 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 10:52:28.615675 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 10:52:28.615747 select * from embedded_struct_test [] gorptest: 10:52:28.615796 drop table if exists "invoice_test"; [] gorptest: 10:52:28.617604 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.619377 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.621111 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.623245 drop table if exists "person_test"; [] gorptest: 10:52:28.625344 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.626929 drop table if exists "id_created_test"; [] gorptest: 10:52:28.628584 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.630525 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.632189 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.633861 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.635574 drop table if exists "time_test"; [] gorptest: 10:52:28.637653 drop table if exists "id_created_test"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.637951 drop table if exists "invoice_test"; [] gorptest: 10:52:28.638198 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.638225 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.638245 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.638285 drop table if exists "person_test"; [] gorptest: 10:52:28.638306 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.638325 drop table if exists "id_created_test"; [] gorptest: 10:52:28.638345 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.638364 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.638384 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.638402 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.638422 drop table if exists "time_test"; [] gorptest: 10:52:28.638453 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.640930 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: 10:52:28.642803 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.644552 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.646494 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.648277 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.649977 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.652181 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.654030 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.655779 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.657594 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.659606 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.661914 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 10:52:28.664343 drop table if exists "invoice_test"; [] gorptest: 10:52:28.666500 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.668686 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.670552 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.672739 drop table if exists "person_test"; [] gorptest: 10:52:28.674472 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.676202 drop table if exists "id_created_test"; [] gorptest: 10:52:28.678021 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.679817 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.681594 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.683498 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.686339 drop table if exists "time_test"; [] gorptest: 10:52:28.688332 drop table if exists "id_created_test"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.688733 drop table if exists "invoice_test"; [] gorptest: 10:52:28.688969 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.688990 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.689003 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.689016 drop table if exists "person_test"; [] gorptest: 10:52:28.689028 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.689041 drop table if exists "id_created_test"; [] gorptest: 10:52:28.689053 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.689065 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.689079 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.689111 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.689125 drop table if exists "time_test"; [] gorptest: 10:52:28.689154 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.692032 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: 10:52:28.694412 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.696801 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.698939 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.700854 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.702736 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.705047 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.706982 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.708934 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.711150 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.713129 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.715502 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 10:52:28.717447 drop table if exists "invoice_test"; [] gorptest: 10:52:28.719794 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.721723 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.723580 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.725597 drop table if exists "person_test"; [] gorptest: 10:52:28.727509 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.729383 drop table if exists "id_created_test"; [] gorptest: 10:52:28.731657 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.733509 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.735234 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.737331 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.739598 drop table if exists "time_test"; [] gorptest: 10:52:28.741620 drop table if exists "id_created_test"; [] gorptest: 10:52:28.741832 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 10:52:28.744067 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: 10:52:28.746236 select Int64 from TableWithNull where Str='abc' [] gorptest: 10:52:28.746327 select count(*) from TableWithNull [] gorptest: 10:52:28.746359 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 10:52:28.746386 select Int64 from TableWithNull where Str='notfound' [] gorptest: 10:52:28.746411 select Int64 from TableWithNull where Str='abc' [] gorptest: 10:52:28.746431 select Float64 from TableWithNull where Str='abc' [] gorptest: 10:52:28.746452 select min(Float64) from TableWithNull [] gorptest: 10:52:28.746478 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 10:52:28.746502 select Float64 from TableWithNull where Str='notfound' [] gorptest: 10:52:28.746521 select Float64 from TableWithNull where Str='abc' [] gorptest: 10:52:28.746543 select Str from TableWithNull where Int64=? [1:78] gorptest: 10:52:28.746571 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 10:52:28.746592 select Str from TableWithNull where Int64=? [1:78] gorptest: 10:52:28.746623 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 10:52:28.746655 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 10:52:28.746678 select Str from TableWithNull where Int64=? [1:78] gorptest: 10:52:28.746700 drop table if exists "TableWithNull"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.748721 drop table if exists "invoice_test"; [] gorptest: 10:52:28.748900 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.748915 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.748934 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.748947 drop table if exists "person_test"; [] gorptest: 10:52:28.748960 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.748972 drop table if exists "id_created_test"; [] gorptest: 10:52:28.748985 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.748997 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.749010 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.749022 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.749034 drop table if exists "time_test"; [] gorptest: 10:52:28.749055 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.751084 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: 10:52:28.753053 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.755346 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.757345 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.759277 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.761086 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.762937 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.764838 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.766727 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.768642 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.770525 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.772425 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272748772405381 2:1732272748772405381 3:"Bob" 4:"Smith" 5:1] gorptest: 10:52:28.774394 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272748774381085 2:1732272748774381085 3:"Jane" 4:"Smith" 5:1] gorptest: 10:52:28.776193 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272748776180174 2:1732272748776180174 3:"Mike" 4:"Smith" 5:1] gorptest: 10:52:28.777996 drop table if exists "invoice_test"; [] gorptest: 10:52:28.779816 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.781585 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.783302 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.785194 drop table if exists "person_test"; [] gorptest: 10:52:28.787131 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.789006 drop table if exists "id_created_test"; [] gorptest: 10:52:28.790983 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.792800 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.794612 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.797056 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.798884 drop table if exists "time_test"; [] gorptest: 10:52:28.800778 drop table if exists "id_created_test"; [] gorptest: 10:52:28.800947 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 10:52:28.803048 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 10:52:28.804855 drop table if exists "string_pk_test"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.807135 drop table if exists "invoice_test"; [] gorptest: 10:52:28.807326 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.807347 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.807360 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.807373 drop table if exists "person_test"; [] gorptest: 10:52:28.807386 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.807398 drop table if exists "id_created_test"; [] gorptest: 10:52:28.807411 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.807423 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.807436 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.807448 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.807461 drop table if exists "time_test"; [] gorptest: 10:52:28.807480 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.809435 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: 10:52:28.811371 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.813203 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.815312 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.817078 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.818848 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.824374 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.826405 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.828321 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.830266 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.832118 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.833907 insert into "time_test" ("Id","Time") values (null,?); [1:2024-11-22 10:21:28.833876886 +0000 UTC] gorptest: 10:52:28.835698 insert into "time_test" ("Id","Time") values (null,?); [1:2024-11-22 10:22:29.833876886 +0000 UTC] gorptest: 10:52:28.837563 SELECT id FROM time_test WHERE Time < ? [1:2024-11-22 10:22:28.833876886 +0000 UTC] gorptest: 10:52:28.837670 drop table if exists "invoice_test"; [] gorptest: 10:52:28.839487 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.841299 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.843060 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.845009 drop table if exists "person_test"; [] gorptest: 10:52:28.846740 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.848432 drop table if exists "id_created_test"; [] gorptest: 10:52:28.850224 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.852053 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.853901 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.855805 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.857592 drop table if exists "time_test"; [] gorptest: 10:52:28.859561 drop table if exists "id_created_test"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.859807 drop table if exists "invoice_test"; [] gorptest: 10:52:28.859980 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.859999 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.860012 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.860025 drop table if exists "person_test"; [] gorptest: 10:52:28.860038 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.860050 drop table if exists "id_created_test"; [] gorptest: 10:52:28.860063 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.860079 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.860100 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.860114 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.860126 drop table if exists "time_test"; [] gorptest: 10:52:28.860147 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.862355 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: 10:52:28.864193 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.865875 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.867689 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.869425 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.871150 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.872857 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.874708 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.876558 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.878402 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.880239 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.882157 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272748882136794 2:1732272748882136794 3:"bob" 4:"smith" 5:1] gorptest: 10:52:28.884023 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 10:52:28.885876 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 10:52:28.885988 drop table if exists "invoice_test"; [] gorptest: 10:52:28.888023 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.889861 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.891874 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.894830 drop table if exists "person_test"; [] gorptest: 10:52:28.896749 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.898629 drop table if exists "id_created_test"; [] gorptest: 10:52:28.900478 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.902277 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.904173 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.906012 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.907885 drop table if exists "time_test"; [] gorptest: 10:52:28.909694 drop table if exists "id_created_test"; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.909946 drop table if exists "invoice_test"; [] gorptest: 10:52:28.910123 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.910142 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.910155 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.910167 drop table if exists "person_test"; [] gorptest: 10:52:28.910180 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.910192 drop table if exists "id_created_test"; [] gorptest: 10:52:28.910205 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.910217 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.910230 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.910242 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.910269 drop table if exists "time_test"; [] gorptest: 10:52:28.910301 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.912165 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: 10:52:28.913967 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.915813 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.917752 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.920280 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.922208 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.924029 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.925888 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.927837 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.929778 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.931698 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2024/11/22 10:52:28 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:28.955713 drop table if exists "invoice_test"; [] gorptest: 10:52:28.955895 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.955910 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.955923 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.955935 drop table if exists "person_test"; [] gorptest: 10:52:28.955952 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.955966 drop table if exists "id_created_test"; [] gorptest: 10:52:28.955978 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.955990 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.956002 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.956015 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.956027 drop table if exists "time_test"; [] gorptest: 10:52:28.956058 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.958032 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: 10:52:28.960404 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:28.962098 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:28.963860 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:28.965534 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.967220 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:28.969246 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:28.971066 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:28.972711 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:28.974388 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:28.976063 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:28.977712 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272748977692424 2:1732272748977692424 3:"bob" 4:"smith" 5:1] gorptest: 10:52:28.979311 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272748979299158 2:1732272748979299158 3:"jane" 4:"doe" 5:1] gorptest: 10:52:28.980938 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:52:28.981017 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 10:52:28.981066 select * from person_test where Id=? [1:1] gorptest: 10:52:28.981135 select * from person_test order by fname asc [] gorptest: 10:52:28.981205 drop table if exists "invoice_test"; [] gorptest: 10:52:28.982891 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:28.984613 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:28.986246 drop table if exists "invoice_override_test"; [] gorptest: 10:52:28.988010 drop table if exists "person_test"; [] gorptest: 10:52:28.989740 drop table if exists "ignored_column_test"; [] gorptest: 10:52:28.991747 drop table if exists "id_created_test"; [] gorptest: 10:52:28.993349 drop table if exists "type_conv_test"; [] gorptest: 10:52:28.994920 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:28.996534 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:28.998162 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:28.999806 drop table if exists "time_test"; [] gorptest: 10:52:29.001362 drop table if exists "id_created_test"; [] 2024/11/22 10:52:29 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:29.001585 drop table if exists "invoice_test"; [] gorptest: 10:52:29.001747 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:29.001766 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:29.001779 drop table if exists "invoice_override_test"; [] gorptest: 10:52:29.001792 drop table if exists "person_test"; [] gorptest: 10:52:29.001804 drop table if exists "ignored_column_test"; [] gorptest: 10:52:29.001816 drop table if exists "id_created_test"; [] gorptest: 10:52:29.001829 drop table if exists "type_conv_test"; [] gorptest: 10:52:29.001841 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:29.001854 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:29.001866 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:29.001879 drop table if exists "time_test"; [] gorptest: 10:52:29.001899 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:29.003983 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: 10:52:29.005640 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:29.007240 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:29.008941 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:29.010554 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:29.012308 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:29.013902 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:29.015551 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:29.017281 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:29.019049 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:29.020876 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:29.023010 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272749022972347 2:1732272749022972347 3:"bob" 4:"smith" 5:1] gorptest: 10:52:29.024715 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:52:29.024821 select * from person_test where Id=? [1:1] gorptest: 10:52:29.024893 select FName from person_test where Id=? [1:1] gorptest: 10:52:29.024921 select * from person_test where Id=? [1:1] gorptest: 10:52:29.025031 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 10:52:29.025083 select * from person_test where Id=? [1:-2222] gorptest: 10:52:29.025138 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1732272749025124468 2:1732272749025124468 3:"bob" 4:"smith" 5:1] gorptest: 10:52:29.026924 select * from person_test where Fname='bob' [] gorptest: 10:52:29.027034 select * from person_test where Id=-123 [] gorptest: 10:52:29.027061 select * from person_test where Id=-123 [] gorptest: 10:52:29.027080 select * from person_test where Id=-123 [] gorptest: 10:52:29.027108 select * from person_test where Id=-123 [] gorptest: 10:52:29.027128 drop table if exists "invoice_test"; [] gorptest: 10:52:29.029356 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:29.031119 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:29.032840 drop table if exists "invoice_override_test"; [] gorptest: 10:52:29.034767 drop table if exists "person_test"; [] gorptest: 10:52:29.037033 drop table if exists "ignored_column_test"; [] gorptest: 10:52:29.039131 drop table if exists "id_created_test"; [] gorptest: 10:52:29.041031 drop table if exists "type_conv_test"; [] gorptest: 10:52:29.042858 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:29.044788 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:29.046557 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:29.048344 drop table if exists "time_test"; [] gorptest: 10:52:29.050150 drop table if exists "id_created_test"; [] 2024/11/22 10:52:29 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:29.050401 drop table if exists "invoice_test"; [] gorptest: 10:52:29.050572 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:29.050592 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:29.050604 drop table if exists "invoice_override_test"; [] gorptest: 10:52:29.050617 drop table if exists "person_test"; [] gorptest: 10:52:29.050630 drop table if exists "ignored_column_test"; [] gorptest: 10:52:29.050642 drop table if exists "id_created_test"; [] gorptest: 10:52:29.050655 drop table if exists "type_conv_test"; [] gorptest: 10:52:29.050667 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:29.050680 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:29.050702 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:29.050715 drop table if exists "time_test"; [] gorptest: 10:52:29.050744 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:29.052682 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: 10:52:29.054480 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:29.056247 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:29.058033 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:29.059920 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:29.062379 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:29.064128 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:29.065934 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:29.067791 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:29.069422 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:29.071052 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:29.073275 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 10:52:29.075209 select * from id_created_test where Id=1 [] gorptest: 10:52:29.075341 SELECT *, 1 AS external FROM id_created_test [] gorptest: 10:52:29.075403 drop table if exists "invoice_test"; [] gorptest: 10:52:29.077350 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:29.079240 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:29.080987 drop table if exists "invoice_override_test"; [] gorptest: 10:52:29.083000 drop table if exists "person_test"; [] gorptest: 10:52:29.084958 drop table if exists "ignored_column_test"; [] gorptest: 10:52:29.086609 drop table if exists "id_created_test"; [] gorptest: 10:52:29.088407 drop table if exists "type_conv_test"; [] gorptest: 10:52:29.090215 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:29.092287 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:29.093852 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:29.095747 drop table if exists "time_test"; [] gorptest: 10:52:29.097353 drop table if exists "id_created_test"; [] 2024/11/22 10:52:29 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:29.097629 drop table if exists "invoice_test"; [] gorptest: 10:52:29.097802 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:29.097821 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:29.097834 drop table if exists "invoice_override_test"; [] gorptest: 10:52:29.097847 drop table if exists "person_test"; [] gorptest: 10:52:29.097859 drop table if exists "ignored_column_test"; [] gorptest: 10:52:29.097872 drop table if exists "id_created_test"; [] gorptest: 10:52:29.097884 drop table if exists "type_conv_test"; [] gorptest: 10:52:29.097900 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:29.097913 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:29.097925 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:29.097937 drop table if exists "time_test"; [] gorptest: 10:52:29.097958 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:29.100029 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: 10:52:29.102683 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:29.104797 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:29.106840 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:29.108707 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:29.110711 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:29.112482 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:29.114455 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:29.116415 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:29.118365 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:29.120241 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:29.122167 drop table if exists "invoice_test"; [] gorptest: 10:52:29.124151 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:29.126034 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:29.127981 drop table if exists "invoice_override_test"; [] gorptest: 10:52:29.129964 drop table if exists "person_test"; [] gorptest: 10:52:29.131768 drop table if exists "ignored_column_test"; [] gorptest: 10:52:29.133661 drop table if exists "id_created_test"; [] gorptest: 10:52:29.135753 drop table if exists "type_conv_test"; [] gorptest: 10:52:29.137507 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:29.139334 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:29.141176 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:29.143131 drop table if exists "time_test"; [] gorptest: 10:52:29.144958 drop table if exists "id_created_test"; [] gorptest: 10:52:29.144998 drop table if exists "single_column_table"; [] gorptest: 10:52:29.145043 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: 10:52:29.147267 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: 10:52:29.149505 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:29.151597 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: 10:52:29.156436 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: 10:52:29.158582 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:29.160638 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:29.162645 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:29.164739 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:29.166764 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:29.168823 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: 10:52:29.171129 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:29.173214 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 10:52:29.173270 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 10:52:29.175159 delete from "invoice_test"; [] gorptest: 10:52:29.177183 delete from "invoice_tag_test"; [] gorptest: 10:52:29.178984 delete from "alias_trans_field_test"; [] gorptest: 10:52:29.180941 delete from "invoice_override_test"; [] gorptest: 10:52:29.182858 delete from "person_test"; [] gorptest: 10:52:29.184626 delete from "ignored_column_test"; [] gorptest: 10:52:29.186525 delete from "id_created_test"; [] gorptest: 10:52:29.188216 delete from "type_conv_test"; [] gorptest: 10:52:29.190159 delete from "embedded_struct_test"; [] gorptest: 10:52:29.191895 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:29.193707 delete from "embedded_autoincr_test"; [] gorptest: 10:52:29.195408 delete from "time_test"; [] gorptest: 10:52:29.197037 delete from "id_created_test"; [] gorptest: 10:52:29.198878 delete from "single_column_table"; [] gorptest: 10:52:29.200609 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 10:52:29.200693 drop table if exists "invoice_test"; [] gorptest: 10:52:29.202611 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:29.204336 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:29.206002 drop table if exists "invoice_override_test"; [] gorptest: 10:52:29.208398 drop table if exists "person_test"; [] gorptest: 10:52:29.210192 drop table if exists "ignored_column_test"; [] gorptest: 10:52:29.212245 drop table if exists "id_created_test"; [] gorptest: 10:52:29.214147 drop table if exists "type_conv_test"; [] gorptest: 10:52:29.216041 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:29.217843 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:29.219553 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:29.221385 drop table if exists "time_test"; [] gorptest: 10:52:29.223084 drop table if exists "id_created_test"; [] gorptest: 10:52:29.223154 drop table if exists "single_column_table"; [] 2024/11/22 10:52:29 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 10:52:29.225473 drop table if exists "invoice_test"; [] gorptest: 10:52:29.225665 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:29.225684 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:29.225697 drop table if exists "invoice_override_test"; [] gorptest: 10:52:29.225710 drop table if exists "person_test"; [] gorptest: 10:52:29.225723 drop table if exists "ignored_column_test"; [] gorptest: 10:52:29.225735 drop table if exists "id_created_test"; [] gorptest: 10:52:29.225748 drop table if exists "type_conv_test"; [] gorptest: 10:52:29.225760 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:29.225773 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:29.225785 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:29.225798 drop table if exists "time_test"; [] gorptest: 10:52:29.225819 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:29.227776 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: 10:52:29.229707 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:52:29.231519 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:52:29.233382 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:52:29.235302 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:29.237212 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:52:29.238968 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:52:29.240868 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:52:29.242724 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:52:29.244461 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:52:29.246360 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:52:29.248216 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 10:52:29.250238 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 10:52:29.252128 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 10:52:29.253972 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 10:52:29.254102 begin; [] gorptest: 10:52:29.254132 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 10:52:29.254239 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 10:52:29.254520 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 10:52:29.254573 commit; [] gorptest: 10:52:29.256166 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 10:52:29.256275 drop table if exists "invoice_test"; [] gorptest: 10:52:29.258364 drop table if exists "invoice_tag_test"; [] gorptest: 10:52:29.260032 drop table if exists "alias_trans_field_test"; [] gorptest: 10:52:29.261967 drop table if exists "invoice_override_test"; [] gorptest: 10:52:29.263906 drop table if exists "person_test"; [] gorptest: 10:52:29.265722 drop table if exists "ignored_column_test"; [] gorptest: 10:52:29.267528 drop table if exists "id_created_test"; [] gorptest: 10:52:29.269334 drop table if exists "type_conv_test"; [] gorptest: 10:52:29.271127 drop table if exists "embedded_struct_test"; [] gorptest: 10:52:29.273164 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:52:29.275189 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:52:29.276933 drop table if exists "time_test"; [] gorptest: 10:52:29.278686 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 1.407s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-gopkg-gorp-1-devel-1.7.2-8.fc40.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8MwOlN + umask 022 + cd /builddir/build/BUILD + cd gorp-1.7.2 + DOCDIR=/builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-8.fc40.x86_64/usr/share/doc/golang-gopkg-gorp-1-devel + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-8.fc40.x86_64/usr/share/doc/golang-gopkg-gorp-1-devel + cp -pr /builddir/build/BUILD/gorp-1.7.2/README.md /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-8.fc40.x86_64/usr/share/doc/golang-gopkg-gorp-1-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.KykGsF + umask 022 + cd /builddir/build/BUILD + cd gorp-1.7.2 + LICENSEDIR=/builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-8.fc40.x86_64/usr/share/licenses/golang-gopkg-gorp-1-devel + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-8.fc40.x86_64/usr/share/licenses/golang-gopkg-gorp-1-devel + cp -pr /builddir/build/BUILD/gorp-1.7.2/LICENSE /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-8.fc40.x86_64/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-8.fc40 golang-gopkg-gorp-1-devel = 1.7.2-8.fc40 golang-ipath(gopkg.in/gorp.v1) = 1.7.2-8.fc40 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-8.fc40.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-8.fc40 golang(github.com/go-gorp/gorp/v1) = 1.7.2-8.fc40 golang-symlink(github.com/go-gorp/gorp/v1) = 1.7.2-8.fc40 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-8.fc40 Obsoletes: golang-github-gorp-1-devel < 1.7.2-8.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-8.fc40.x86_64 Wrote: /builddir/build/RPMS/compat-golang-github-gorp-1-devel-1.7.2-8.fc40.noarch.rpm Wrote: /builddir/build/RPMS/golang-gopkg-gorp-1-devel-1.7.2-8.fc40.noarch.rpm Child return code was: 0