[MCOL-72] UPDATE reports incorrect number of Rows affected Created: 2016-05-22 Updated: 2016-05-31 Resolved: 2016-05-31 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Dipti Joshi (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
UPDATE statements is not reporting the number of rows affected correctly - even though values in the table are correctly updated. Example test of UPDATE statement
As can be seen select after the UPDATE, the UPDATE statement did update the column a to 10 for 2 rows as expected, but the UPDATE reported "0 rows affected" |
| Comments |
| Comment by David Hall (Inactive) [ 2016-05-23 ] |
|
For QA There was a slight change in how rows affected was delivered to the client. InfiniDB has engine specific code there, and it didn't quite translate correctly. git 6b14a4cd752590c37c5349c56efa4fcc820b32a7 MariaDB_InfiniDB Changed sql_update.cc |
| Comment by Dipti Joshi (Inactive) [ 2016-05-24 ] |
|
David.Hall hill tested this with last night's build, but it is still not working |
| Comment by David Hall (Inactive) [ 2016-05-24 ] |
|
Found another spot where the code was wrong. Fixed. |
| Comment by Dipti Joshi (Inactive) [ 2016-05-31 ] |
|
dleeyh Have you verified this to be fixed ? If so - please close this item. |
| Comment by Daniel Lee (Inactive) [ 2016-05-31 ] |
|
Build verified: getsoftwareinfo Tue May 31 10:30:28 2016 Name : mariadb-columnstore-platform Relocations: (not relocatable) MariaDB [mytest]> update yabbaDabbaDoo set o_orderkey = -1; |