Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
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
Container registry
Harbor 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
Show more breadcrumbs
dCache
cta
Commits
137f785b
Commit
137f785b
authored
8 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
Added -Wshadow compile option to rdbms directory
parent
df4bef50
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
rdbms/CMakeLists.txt
+2
-0
2 additions, 0 deletions
rdbms/CMakeLists.txt
rdbms/Login.cpp
+8
-8
8 additions, 8 deletions
rdbms/Login.cpp
rdbms/Login.hpp
+8
-8
8 additions, 8 deletions
rdbms/Login.hpp
with
18 additions
and
16 deletions
rdbms/CMakeLists.txt
+
2
−
0
View file @
137f785b
...
...
@@ -15,6 +15,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
cmake_minimum_required
(
VERSION 2.6
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Wshadow"
)
find_package
(
sqlite REQUIRED
)
# OCCI support is on by default
...
...
This diff is collapsed.
Click to expand it.
rdbms/Login.cpp
+
8
−
8
View file @
137f785b
...
...
@@ -34,14 +34,14 @@ const char *Login::s_fileFormat = "either in_memory or oracle:username/password@
// constructor
//------------------------------------------------------------------------------
Login
::
Login
(
const
DbType
dbT
ype
,
const
std
::
string
&
user
name
,
const
std
::
string
&
passw
or
d
,
const
std
::
string
&
d
atabase
)
:
dbType
(
dbT
ype
),
username
(
user
name
),
password
(
passw
or
d
),
database
(
d
atabase
)
{
const
DbType
t
ype
,
const
std
::
string
&
user
,
const
std
::
string
&
passwd
,
const
std
::
string
&
d
b
)
:
dbType
(
t
ype
),
username
(
user
),
password
(
passwd
),
database
(
d
b
)
{
}
//------------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
rdbms/Login.hpp
+
8
−
8
View file @
137f785b
...
...
@@ -43,16 +43,16 @@ struct Login {
/**
* Constructor.
*
* @param
dbT
ype The type of the database.
* @param user
name
The username.
* @param passw
or
d The password.
* @param d
atabase
The database name.
* @param
t
ype The type of the database.
* @param user The username.
* @param passwd The password.
* @param d
b
The database name.
*/
Login
(
const
DbType
dbT
ype
,
const
std
::
string
&
user
name
,
const
std
::
string
&
passw
or
d
,
const
std
::
string
&
d
atabase
);
const
DbType
t
ype
,
const
std
::
string
&
user
,
const
std
::
string
&
passwd
,
const
std
::
string
&
d
b
);
/**
* The type of the database.
...
...
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