Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
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
Container registry
Model registry
Operate
Environments
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
pikelang
pike
Commits
c7b493d4
Commit
c7b493d4
authored
11 years ago
by
Martin Nilsson
Browse files
Options
Downloads
Patches
Plain Diff
Mark some deprecated methods as deprecated.
parent
d2ac22e1
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/modules/Sql.pmod/sybase.pike
+3
-3
3 additions, 3 deletions
lib/modules/Sql.pmod/sybase.pike
with
3 additions
and
3 deletions
lib/modules/Sql.pmod/sybase.pike
+
3
−
3
View file @
c7b493d4
...
@@ -18,7 +18,7 @@ inherit sybase.sybase:mo;
...
@@ -18,7 +18,7 @@ inherit sybase.sybase:mo;
/*
/*
* Deprecated. Use connect(host,db,user,pass) instead.
* Deprecated. Use connect(host,db,user,pass) instead.
*/
*/
void select_db(string db)
__deprecated__
void select_db(string db)
{
{
mo::big_query("use "+db);
mo::big_query("use "+db);
}
}
...
@@ -26,14 +26,14 @@ void select_db(string db)
...
@@ -26,14 +26,14 @@ void select_db(string db)
/*
/*
* Deprecated. Use an SQL command instead.
* Deprecated. Use an SQL command instead.
*/
*/
void create_db (string dbname) {
__deprecated__
void create_db (string dbname) {
mo::big_query("create database "+dbname);
mo::big_query("create database "+dbname);
}
}
/*
/*
* Deprecated. Use an SQL command instead.
* Deprecated. Use an SQL command instead.
*/
*/
void drop_db (string dbname) {
__deprecated__
void drop_db (string dbname) {
mo::big_query("drop database "+dbname);
mo::big_query("drop database "+dbname);
}
}
...
...
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