Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2931
fixLastErrno.php
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 9:17 PM
2014-11-21 21:17:13 (UTC+0)
Size
485 B
Referenced Files
None
Subscribers
None
fixLastErrno.php
View Options
Index
:
includes
/
DatabasePostgres
.
php
===================================================================
---
includes
/
DatabasePostgres
.
php
(
revision
15709
)
+++
includes
/
DatabasePostgres
.
php
(
working
copy
)
@@
-
309
,
8
+
309
,
14
@@
return
"No database connection"
;
}
}
-
function
lastErrno
()
{
return
1
;
}
+
function
lastErrno
()
{
+
if
(
pg_last_error
())
{
+
return
1
;
+
}
+
return
0
;
+
}
+
function
affectedRows
()
{
return
pg_affected_rows
(
$this
->
mLastResult
);
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2501
Default Alt Text
fixLastErrno.php (485 B)
Attached To
Mode
T8732: Import Does Not Work With PostgreSQL
Attached
Detach File
Event Timeline
Log In to Comment