Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/editors/codelite/files/patch-DatabaseExplorer_MySqlDbAdapter.cpp
16151 views
1
--- DatabaseExplorer/MySqlDbAdapter.cpp.orig 2020-08-28 17:23:13 UTC
2
+++ DatabaseExplorer/MySqlDbAdapter.cpp
3
@@ -210,7 +210,7 @@ bool MySqlDbAdapter::GetColumns(Table* pTab)
4
{
5
DatabaseLayerPtr dbLayer = this->GetDatabaseLayer(wxT(""));
6
7
- if (!dbLayer->IsOpen()) return NULL;
8
+ if (!dbLayer->IsOpen()) return false;
9
// loading columns
10
//TODO:SQL:
11
DatabaseResultSet *database = dbLayer->RunQueryWithResults(wxString::Format(wxT("SHOW COLUMNS IN `%s`.`%s`"),pTab->GetParentName().c_str(),pTab->GetName().c_str()));
12
13