{"push_id":2725562355,"size":18,"distinct_size":3,"ref":"refs/heads/kshch/gh-3473-on-conflict-defaults-fixes","head":"5d1010dfcd7d0666774afaaf5934de018f99e181","before":"8ab44ae3de49c95b89cf8b720e432881efe224a7","commits":[{"sha":"2d52eda44a15c021c22a5c58afaefd50e6e810a6","author":{"name":"Ivan Kosenko","email":"2dcb4d2927319ce24cf1a2441046af2525f1a4d1@gmail.com"},"message":"export api functions for sequences","distinct":false,"url":"https://api.github.com/repos/tarantool/tarantool/commits/2d52eda44a15c021c22a5c58afaefd50e6e810a6"},{"sha":"687cf3b666e28406e82592db62612e138b8a91c4","author":{"name":"Kirill Yukhin","email":"68b6543cf7e4eb54f3cd6dfb62cadfaa7709acb9@tarantool.org"},"message":"Update libyaml version\n\nNew commit in third_party/libyaml downgrades\nrequired cmake version.","distinct":false,"url":"https://api.github.com/repos/tarantool/tarantool/commits/687cf3b666e28406e82592db62612e138b8a91c4"},{"sha":"d0e0d075544590138d29dc5a0508b3614bf8fb1f","author":{"name":"Kirill Yukhin","email":"68b6543cf7e4eb54f3cd6dfb62cadfaa7709acb9@tarantool.org"},"message":"Merge branch '1.9' into 1.10","distinct":false,"url":"https://api.github.com/repos/tarantool/tarantool/commits/d0e0d075544590138d29dc5a0508b3614bf8fb1f"},{"sha":"e9e6b19b27d595525cdfd5392a83db59f1586b7b","author":{"name":"Kirill Yukhin","email":"68b6543cf7e4eb54f3cd6dfb62cadfaa7709acb9@tarantool.org"},"message":"Merge branch '1.10' into 2.0","distinct":false,"url":"https://api.github.com/repos/tarantool/tarantool/commits/e9e6b19b27d595525cdfd5392a83db59f1586b7b"},{"sha":"ce0069d5764ec8888d5e766492f4509dddb6a648","author":{"name":"Kirill Shcherbatov","email":"5cc65286c3dac56537b6a3555ed064424ec0a6c4@tarantool.org"},"message":"sql: disallow division by zero\n\nDisallowed division by zero in SQL to follow ANSI standard.\nThis also affects some unobvious scenarios when divider indirectly\ncasts to zero like\nSELECT 'word1' / 'word2';\n\nCloses #2135.","distinct":false,"url":"https://api.github.com/repos/tarantool/tarantool/commits/ce0069d5764ec8888d5e766492f4509dddb6a648"},{"sha":"1f187cacaabbacd7d615b7d561f9ed4e75acd673","author":{"name":"Georgy Kirichenko","email":"7045372e045cf866a5eaf482c2da03ddffdf975f@tarantool.org"},"message":"Do not recycle a fiber if it is canceled\n\nIf a fiber pool reuses already canceled fiber then the fiber reports an\nerror for any next request. Now canceled fiber returns and fiber pool\ncreates a new one.\n\nFixes #3527","distinct":false,"url":"https://api.github.com/repos/tarantool/tarantool/commits/1f187cacaabbacd7d615b7d561f9ed4e75acd673"},{"sha":"1037606bd6581e0622e37f233bbdd73430304e71","author":{"name":"Kirill Yukhin","email":"68b6543cf7e4eb54f3cd6dfb62cadfaa7709acb9@tarantool.org"},"message":"Merge branch '1.9' into 1.10","distinct":false,"url":"https://api.github.com/repos/tarantool/tarantool/commits/1037606bd6581e0622e37f233bbdd73430304e71"},{"sha":"448782fb632e76eec0ae94355c009c2aa164afba","author":{"name":"Kirill Yukhin","email":"68b6543cf7e4eb54f3cd6dfb62cadfaa7709acb9@tarantool.org"},"message":"Merge branch '1.10' into 2.0","distinct":false,"url":"https://api.github.com/repos/tarantool/tarantool/commits/448782fb632e76eec0ae94355c009c2aa164afba"},{"sha":"375025621221f827cf92b011e73f2dfb32043a20","author":{"name":"Vladimir Davydov","email":"962fd425226003962530d10a2c8ddc4a6d94fb88@gmail.com"},"message":"stailq: add stailq_insert function\n\nThe new function inserts a new item into the list at the specified\npostion.","distinct":false,"url":"https://api.github.com/repos/tarantool/tarantool/commits/375025621221f827cf92b011e73f2dfb32043a20"},{"sha":"8c4475918e8610afc67e5e7184cfd76928215580","author":{"name":"Vladimir Davydov","email":"962fd425226003962530d10a2c8ddc4a6d94fb88@gmail.com"},"message":"test: unit/vy_write_iterator: minor refactoring\n\nMove key_def creation to compare_write_iterator_results as it is the\nsame for all test cases. Performance is not an issue here, obviously, so\nwe can close our eyes to the fact that now we create a new key def for\neach test cases.","distinct":false,"url":"https://api.github.com/repos/tarantool/tarantool/commits/8c4475918e8610afc67e5e7184cfd76928215580"},{"sha":"32854f405aca7e7653f1b4823632f7e0862be764","author":{"name":"Vladimir Davydov","email":"962fd425226003962530d10a2c8ddc4a6d94fb88@gmail.com"},"message":"vinyl: do not pass region explicitly to write iterator functions\n\nThis is not necessary, as we can use fiber()->gc, as we usually do.","distinct":false,"url":"https://api.github.com/repos/tarantool/tarantool/commits/32854f405aca7e7653f1b4823632f7e0862be764"},{"sha":"18d1acbde10f811338e3a6e90431f080b8233f83","author":{"name":"Vladimir Davydov","email":"962fd425226003962530d10a2c8ddc4a6d94fb88@gmail.com"},"message":"vinyl: fix potential use-after-free in vy_read_view_merge\n\nIf is_first_insert flag is set and vy_stmt_type(rv->tuple) equals\nIPROTO_DELETE, we free rv->tuple, but then we dereference it via\nan on-stack variable to check if we need to turn a REPLACE into an\nINSERT or vice versa. Fix this.","distinct":false,"url":"https://api.github.com/repos/tarantool/tarantool/commits/18d1acbde10f811338e3a6e90431f080b8233f83"},{"sha":"b92589c7dc044657088a247e76159f22cb0f1495","author":{"name":"Kirill Shcherbatov","email":"5cc65286c3dac56537b6a3555ed064424ec0a6c4@tarantool.org"},"message":"sql: assertion fault on select after analyze\n\nBinary search in whereKeyStats function that uses routine\nsqlite3VdbeRecordCompareMsgpack returned invalid result,\nbecause it made wrong assumption about the number of\ncoinciding index columns based on _sql_stat4.\nBut all collected index statistics were wrong.\n\nThe analyzeOneTable routine used to call sqlite3GetTempRange\nand sqlite3ReleaseTempRange functions inside of cycle intensively\nchanges Parser->nMem value. Thanks this pattern routine\nsqlite3ReleaseTempRange could push nMem variable onto aTempReg\nqueue. As Parser->nMem could be bigger next time, this\nvariable may be used twice:\n\n          [74, 'Column', 4, 1, 11, '', '00', 'r[11]=']\n          [75, 'Column', 4, 2, 12, '', '00', 'r[12]=']\n|->       [76, 'Column', 4, 3, 13, '', '00', 'r[13]=']\n          [77, 'Column', 4, 4, 14, '', '00', 'r[14]=']\n!rewrite  [78, 'Column', 4, 0, 13, '', '00', 'r[13]=ID']\n          [79, 'MakeRecord', 13, 1, 6, '', '00',\n           'r[6]=mkrec(r[13])']\n\nThus all assumptions about data below should be invalid and\nsome artifacts could exhibit.\n\nExample:\n\\set language sql\nCREATE TABLE t1(id INTEGER PRIMARY KEY AUTOINCREMENT, a,\n\t\tb, c, f, d, e);\nCREATE INDEX i1 ON t1(a, b, c, f, d);\n\\set language lua\nfor i = 0, 100 do\n    box.sql.execute(string.format(\"INSERT INTO t1 VALUES(null,\n\t\t    'x', 'y', 'z', 'a', %s, %s);\", i,\n\t\t    math.floor(i / 2)))\nend\n\\set language sql\nSELECT * FROM \"_sql_stat4\";\n---\n['T1', 'I1', '101 101 1 1 1', '0 0 44 44 44', '0 0 44 44 44',\n ['x', 'y', 'z', 'a', 44]]\n---\n\nExpected:\n---\n['T1', 'I1', '101 101 101 101 1', '0 0 0 0 44', '0 0 0 0 44',\n ['x', 'y', 'z', 'a', 44]]\n---\n\nResolves #2847.","distinct":false,"url":"https://api.github.com/repos/tarantool/tarantool/commits/b92589c7dc044657088a247e76159f22cb0f1495"},{"sha":"09d7a5da4299276c2648b36f2d5a0c184b1484ba","author":{"name":"Kirill Yukhin","email":"68b6543cf7e4eb54f3cd6dfb62cadfaa7709acb9@tarantool.org"},"message":"Merge branch '1.10' into 2.0","distinct":false,"url":"https://api.github.com/repos/tarantool/tarantool/commits/09d7a5da4299276c2648b36f2d5a0c184b1484ba"},{"sha":"0bc636749a282e50eb9ddcf7f5947d62d2215d66","author":{"name":"Ivan Koptelov","email":"3b9f7f4e849d4573269f6a206c64fe82e7651000@tarantool.org"},"message":"sql: add index_def to Index\n\nNow every sqlite struct Index is created with tnt\nstruct index_def inside. This allows us to use tnt\nindex_def in work with sqlite indexes in the same\nmanner as with tnt index and is a step to remove\nsqlite Index with tnt index.\nFields coll_array, coll_id_array, aiColumn,\nsort_order, aiRowLogEst and zName are removed from\nIndex. All usages of this fields changed to usage of\ncorresponding index_def or index_def->opts fields.\nindex_is_unique(), sql_index_collation() and\nindex_column_count() are removed with calls of\nindex_def corresponding fields.\nAlso there is small change in behavior: before the\npatch a statement like\nCREATE TABLE t1(a,b, PRIMARY KEY(a,b), UNIQUE(a,b))\ncreated only one constraint index (for primary key)\nand no index for UNIQUE constraint (since it is upon\nthe same columns), neither it is named or non-named\nconstraint.\nAfter the patch index will be always created for named\nconstraints. It is a temporary solution. In future\nit's preferable not to create an index, but to make\nsome record in _constraints space that this named\nunique constraint implemented with the same index as\nprimary key constraint.\n\nCloses: #3369, #3498","distinct":false,"url":"https://api.github.com/repos/tarantool/tarantool/commits/0bc636749a282e50eb9ddcf7f5947d62d2215d66"},{"sha":"33314a00ce2e0602e0a0fa7e30257ff03e3eed16","author":{"name":"Kirill Shcherbatov","email":"5cc65286c3dac56537b6a3555ed064424ec0a6c4@tarantool.org"},"message":"sql: restrict nullable action definitions\n\nThis patch dissallows define multiple \"NULL\", \"NOT NULL\"\noptions per column and fixes silent implicit behavior\nfor invalid \"NULL PRIMARY KEY\" construction.\n\nCloses #3473.","distinct":true,"url":"https://api.github.com/repos/tarantool/tarantool/commits/33314a00ce2e0602e0a0fa7e30257ff03e3eed16"},{"sha":"ea00a55a9f37b0d0bdda43f76b5574281c758be8","author":{"name":"Kirill Shcherbatov","email":"5cc65286c3dac56537b6a3555ed064424ec0a6c4@tarantool.org"},"message":"sql: fixed possible leak in sqlite3EndTable","distinct":true,"url":"https://api.github.com/repos/tarantool/tarantool/commits/ea00a55a9f37b0d0bdda43f76b5574281c758be8"},{"sha":"5d1010dfcd7d0666774afaaf5934de018f99e181","author":{"name":"Kirill Shcherbatov","email":"5cc65286c3dac56537b6a3555ed064424ec0a6c4@tarantool.org"},"message":"sql: get rid of Column structure\n\nGet rid of is_primkey in Column structure as it become\nredundant. Moved the last member coll with collation pointer\nto field_def structure. Finally, dropped Column.","distinct":true,"url":"https://api.github.com/repos/tarantool/tarantool/commits/5d1010dfcd7d0666774afaaf5934de018f99e181"}]}
{"actor":{"display_login":"kshcherbatov"}}