Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
alternc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
domainepublic
alternc
Commits
c7843722
Commit
c7843722
authored
Mar 28, 2014
by
fufroma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Commence a passer en mysqli"
This reverts commit
faaf268d
.
parent
41cee2ee
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
.travis.yml
.travis.yml
+0
-1
bureau/class/db_mysql.php
bureau/class/db_mysql.php
+5
-3
No files found.
.travis.yml
View file @
c7843722
language
:
php
php
:
-
5.5
-
5.4
-
5.3
script
:
phpunit --coverage-clover=coverage.clover
...
...
bureau/class/db_mysql.php
View file @
c7843722
...
...
@@ -325,7 +325,7 @@ class DB_Sql {
$this
->
Seq_Table
,
$seq_name
,
$currentid
);
@
mysql_query
(
$q
,
$this
->
Link_ID
);
$id
=
@
mysql_query
(
$q
,
$this
->
Link_ID
);
}
else
{
$currentid
=
$res
[
"nextid"
];
}
...
...
@@ -334,7 +334,7 @@ class DB_Sql {
$this
->
Seq_Table
,
$nextid
,
$seq_name
);
@
mysql_query
(
$q
,
$this
->
Link_ID
);
$id
=
@
mysql_query
(
$q
,
$this
->
Link_ID
);
$this
->
unlock
();
}
else
{
$this
->
halt
(
"cannot lock "
.
$this
->
Seq_Table
.
" - has it been created?"
);
...
...
@@ -345,6 +345,8 @@ class DB_Sql {
/* public: return table metadata */
function
metadata
(
$table
=
''
,
$full
=
false
)
{
$count
=
0
;
$id
=
0
;
$res
=
array
();
/*
...
...
@@ -479,7 +481,7 @@ class DB_Sql {
$this
->
query
(
"SHOW TABLES"
);
$i
=
0
;
$return
=
array
();
while
(
$info
=
mysql
i
_fetch_row
(
$this
->
Query_ID
))
while
(
$info
=
mysql_fetch_row
(
$this
->
Query_ID
))
{
$return
[
$i
][
"table_name"
]
=
$info
[
0
];
$return
[
$i
][
"tablespace_name"
]
=
$this
->
Database
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment