Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
ba46911d
Commit
ba46911d
authored
9 years ago
by
Axel Naumann
Browse files
Options
Downloads
Patches
Plain Diff
Prevent parsing for plugin - start with TPgSQL for now.
parent
9917928d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
etc/plugins/TSQLServer/P020_TPgSQLServer.C
+4
-1
4 additions, 1 deletion
etc/plugins/TSQLServer/P020_TPgSQLServer.C
sql/pgsql/src/TPgSQLServer.cxx
+9
-1
9 additions, 1 deletion
sql/pgsql/src/TPgSQLServer.cxx
with
13 additions
and
2 deletions
etc/plugins/TSQLServer/P020_TPgSQLServer.C
+
4
−
1
View file @
ba46911d
class
TSQLServer
;
TSQLServer
*
ROOT_Plugin_TPgSQLServer
(
const
char
*
,
const
char
*
,
const
char
*
);
void
P020_TPgSQLServer
()
{
gPluginMgr
->
AddHandler
(
"TSQLServer"
,
"^pgsql:"
,
"TPgSQLServer"
,
"PgSQL"
,
"TPgSQLServer(const char*,const char*,const char*)"
);
"PgSQL"
,
"
::ROOT_Plugin_
TPgSQLServer(const char*,const char*,const char*)"
);
}
This diff is collapsed.
Click to expand it.
sql/pgsql/src/TPgSQLServer.cxx
+
9
−
1
View file @
ba46911d
...
...
@@ -2,7 +2,7 @@
// Author: g.p.ciceri <gp.ciceri@acm.org> 01/06/2001
/*************************************************************************
* Copyright (C) 1995-20
0
1, Rene Brun and Fons Rademakers. *
* Copyright (C) 1995-201
6
, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
...
...
@@ -19,6 +19,14 @@
#include
"TUrl.h"
#include
"TList.h"
////////////////////////////////////////////////////////////////////////////////
/// PluginManager generator function
TSQLServer
*
ROOT_Plugin_TPgSQLServer
(
const
char
*
db
,
const
char
*
uid
,
const
char
*
pw
)
{
return
new
TPgSQLServer
(
db
,
uid
,
pw
);
}
ClassImp
(
TPgSQLServer
)
////////////////////////////////////////////////////////////////////////////////
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment