summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@clearboxsystems.com.au>2013-09-30 01:26:16 +1000
committerCarlo Zancanaro <carlo@clearboxsystems.com.au>2013-09-30 01:26:16 +1000
commite77814f7d117f9f5315d65a48a854e0128111bfc (patch)
treee2304ac7f62b0ccbe01d9e33b0751813c04a9ed8 /test
parent65334fcffb989e01b348adef448d9a31a5065b0f (diff)
Fix a bug relating to table renaming
When queries were being created their internal aliases were defaulting to the same as their external table names. This would normally have been fine, but in the case of a rename the simplistic implementation of table renames was leading to the external name being changed too. The solution: generate a (unique) random internal name for the table. That way the rename operation will only rename the unique internal name, not the constant external name (it would also, in theory, reduce the need for renames, but that optimisation probably isn't really worth doing for expected work loads).
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions