Yay. It's working!
Thank you very much for the custom build. I've installed it and my function autocomplete is working again.
Search found 3 matches
- Fri 22 Jul 2022 06:34
- Forum: dbForge for MySQL
- Topic: Intellisense/Autocomplete for functions and procedures no longer working
- Replies: 10
- Views: 12390
- Tue 12 Jul 2022 06:13
- Forum: dbForge for MySQL
- Topic: Intellisense/Autocomplete for functions and procedures no longer working
- Replies: 10
- Views: 12390
- Tue 05 Jul 2022 09:33
- Forum: dbForge for MySQL
- Topic: Intellisense/Autocomplete for functions and procedures no longer working
- Replies: 10
- Views: 12390
Re: Intellisense/Autocomplete for functions and procedures no longer working
I've noticed the same issue since upgrading.
Enabling the Tools -> Options -> Output -> Write queries sent by the program to the SQL Log option allowed me to see the queries being run to get the autocomplete texts when I select the Edit -> Code Completion -> Refresh Local Cache menu option.
On an older version of dbForge (Express 8.2.23) I see this query:
SELECT p.name
, p.type
, p.param_list
, p.returns
, p.comment
FROM mysql.proc AS p
WHERE p.db = 'Axxxxxxx' OR p.db = lower('Axxxxxxx')
ORDER BY p.name;
But on the new version of dbForge (Express 9.0.897) I see this query:
SELECT p.name
, p.type
, p.param_list
, p.returns
, p.comment
FROM mysql.proc AS p
WHERE p.db = 'Axxxxxxx'
ORDER BY p.name;
Looking at the mysql.proc table I see everything in the db field starts with a lower case character 'axxxxxxx' even though a "SHOW DATABASES" shows this database name starting with an upper case character.
It looks like the issue is that the query to get the list of functions from mysql.proc is case sensitive as the lower case conversion part has been removed for some reason.
Enabling the Tools -> Options -> Output -> Write queries sent by the program to the SQL Log option allowed me to see the queries being run to get the autocomplete texts when I select the Edit -> Code Completion -> Refresh Local Cache menu option.
On an older version of dbForge (Express 8.2.23) I see this query:
SELECT p.name
, p.type
, p.param_list
, p.returns
, p.comment
FROM mysql.proc AS p
WHERE p.db = 'Axxxxxxx' OR p.db = lower('Axxxxxxx')
ORDER BY p.name;
But on the new version of dbForge (Express 9.0.897) I see this query:
SELECT p.name
, p.type
, p.param_list
, p.returns
, p.comment
FROM mysql.proc AS p
WHERE p.db = 'Axxxxxxx'
ORDER BY p.name;
Looking at the mysql.proc table I see everything in the db field starts with a lower case character 'axxxxxxx' even though a "SHOW DATABASES" shows this database name starting with an upper case character.
It looks like the issue is that the query to get the list of functions from mysql.proc is case sensitive as the lower case conversion part has been removed for some reason.