Skip to content

Conversation

@alrocar
Copy link
Contributor

@alrocar alrocar commented Dec 20, 2019

Related issue https://github.com/CartoDB/support/issues/2273

I made a quick test in one of the affected users database and the fix seems to work

@rafatower
Copy link
Contributor

Fine by me, but most likely the problem comes from double quoting, that is, changes in the parameter passed to the function (I can tell for sure this used to work ok under different conditions).

@alrocar
Copy link
Contributor Author

alrocar commented Dec 20, 2019

This is how it's being called from cartodb (which is the origin of the issue):

CDB_UserDataSize('#{self.database_schema}')

I did some manual tests and it seems to happen when the database_schema contains -. I'll try to add some tests to the PR to check that.

@alrocar alrocar self-assigned this Dec 20, 2019
@Algunenano Algunenano self-requested a review December 24, 2019 13:15
@Algunenano Algunenano merged commit 4c15faf into master Dec 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants