[MCOL-36] 297 Miscellaneous Tests: Failed Created: 2016-05-03 Updated: 2016-05-26 Resolved: 2016-05-26 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr, MariaDB Server |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Dipti Joshi (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
297 Miscellaneous Tests: Failed test297 Failure Details: rowsAffected.sql.ref.log does not match rowsAffected.sql.log. |
| Comments |
| Comment by David Hill (Inactive) [ 2016-05-20 ] | |||||||||||||||||||||||||||||||
|
mismatch in results rowsAffected.sql.ref.log does not match rowsAffected.sql.log. [root@srvss2 srvswdev11]# diff test297/rowsAffected.sql.ref.log test297/rowsAffected.sql.log | |||||||||||||||||||||||||||||||
| Comment by Dipti Joshi (Inactive) [ 2016-05-22 ] | |||||||||||||||||||||||||||||||
|
In addition to rowsAffected.sql, bug5314sql is also not matching diff bug5315.sql.ref.log bug5315.sql.log hill Both of the queries' results are matching with reference log because UPDATE query is reporting incorrect number of rows affected. I tested other UPDATE queries and observed the same. David.Hall This test suite failed because UPDATE statements is not reporting the number of rows affected correctly - even though values in the table are correctly updated. See the example test I did for UPDATE statement
As you notice above from the result of the select after the UPDATE, the UPDATE statement does update the column a to 10 as expected, but - it still says "0 rows affected" This is what is causing the test script to report failure -even though in reality update did work. So this is bug in reporting the number of rows affected by UPDATE statement | |||||||||||||||||||||||||||||||
| Comment by David Hill (Inactive) [ 2016-05-25 ] | |||||||||||||||||||||||||||||||
|
Running test297.sh. rowsAffected.sql.ref.log does not match rowsAffected.sql.log. | |||||||||||||||||||||||||||||||
| Comment by David Hall (Inactive) [ 2016-05-25 ] | |||||||||||||||||||||||||||||||
|
This should now be fixed for UPDATE (see | |||||||||||||||||||||||||||||||
| Comment by David Hill (Inactive) [ 2016-05-26 ] | |||||||||||||||||||||||||||||||
|
297 Miscellaneous Tests: Passed Woo Hoo | |||||||||||||||||||||||||||||||
| Comment by Dipti Joshi (Inactive) [ 2016-05-26 ] | |||||||||||||||||||||||||||||||
|
Since in latest regression this test case pass after the fix for UPDATE and DELETE rows - closing this |