-
Notifications
You must be signed in to change notification settings - Fork 729
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: mantisbt/mantisbt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 791fbd93d09b
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: mantisbt/mantisbt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 32ba11600018
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 2 commits
- 1 file changed
- 2 contributors
Commits on Oct 4, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 6ecddde - Browse repository at this point
Copy the full SHA 6ecdddeView commit details -
Fix issue in tag api with odbc_mssql driver
This branch of code was put into place to handle a deficiency in the odbc_mssql driver that doesn't allow for bound subqueries. This is not needed for the other mssql drivers, yet using db_is_mssql() returns true for all mssql drivers so code is indiscriminately executed for other drivers. $t_params[] init was changed because it only needs to be set once. It is needed for the query in the mssql condition block for the first query only to grab the list of tags that aren't specific to this bug. Afterwards in the second query, $t_params needs to be null or it results in the database returning an error due to no '?' replacements. Therefore, after running the first query, we need to set this to null. If the condition fails and the dbtype is not mssql (or 'odbc_mssql') then $t_params is already set. Note: the multiple query setup in the "true" condition is a really bad way to do this. I'm not going to mess with it, however, since the tag count probably won't get too high in any general scenario. Fixes #14774 Signed-off-by: Damien Regad <damien.regad@merckgroup.com> Note, this was simply checked for syntax errors and compliance with coding guidelines as I don't have access to an MSSQL setup.
Configuration menu - View commit details
-
Copy full SHA for 32ba116 - Browse repository at this point
Copy the full SHA 32ba116View commit details
There are no files selected for viewing