Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
b70f6cd7
Commit
b70f6cd7
authored
Jun 10, 2007
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
15e28efd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Mssql.php
lib/Doctrine/Import/Mssql.php
+2
-2
Oracle.php
lib/Doctrine/Import/Oracle.php
+3
-3
No files found.
lib/Doctrine/Import/Mssql.php
View file @
b70f6cd7
...
...
@@ -44,7 +44,7 @@ class Doctrine_Import_Mssql extends Doctrine_Import
$query
=
"SELECT name FROM sysobjects WHERE xtype = 'U'"
;
$tableNames
=
$this
->
conn
->
fetchColumn
(
$query
);
return
array_map
(
array
(
$this
->
conn
,
'fixSequenceName'
),
$tableNames
);
return
array_map
(
array
(
$this
->
conn
->
formatter
,
'fixSequenceName'
),
$tableNames
);
}
/**
* lists table constraints
...
...
@@ -168,7 +168,7 @@ class Doctrine_Import_Mssql extends Doctrine_Import
foreach
(
$indexes
as
$index
)
{
if
(
!
in_array
(
$index
,
$pkAll
)
&&
$index
!=
null
)
{
$result
[]
=
$this
->
_
fixIndexName
(
$index
);
$result
[]
=
$this
->
conn
->
formatter
->
fixIndexName
(
$index
);
}
}
...
...
lib/Doctrine/Import/Oracle.php
View file @
b70f6cd7
...
...
@@ -88,7 +88,7 @@ class Doctrine_Import_Oracle extends Doctrine_Import
$tableNames
=
$this
->
conn
->
fetchColumn
(
$query
);
return
array_map
(
array
(
$this
->
conn
,
'fixSequenceName'
),
$tableNames
);
return
array_map
(
array
(
$this
->
conn
->
formatter
,
'fixSequenceName'
),
$tableNames
);
}
/**
* lists table constraints
...
...
@@ -105,7 +105,7 @@ class Doctrine_Import_Oracle extends Doctrine_Import
$constraints
=
$this
->
conn
->
fetchColumn
(
$query
);
return
array_map
(
array
(
$this
->
conn
,
'fixIndexName'
),
$constraints
);
return
array_map
(
array
(
$this
->
conn
->
formatter
,
'fixIndexName'
),
$constraints
);
}
/**
* lists table constraints
...
...
@@ -154,7 +154,7 @@ class Doctrine_Import_Oracle extends Doctrine_Import
$indexes
=
$this
->
conn
->
fetchColumn
(
$query
);
return
array_map
(
array
(
$this
->
conn
,
'fixIndexName'
),
$indexes
);
return
array_map
(
array
(
$this
->
conn
->
formatter
,
'fixIndexName'
),
$indexes
);
}
/**
* lists tables
...
...
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