Skip to content

Commit

Permalink
Fix #10: Full export of database to much memory
Browse files Browse the repository at this point in the history
  • Loading branch information
kumy committed Mar 13, 2018
1 parent 84c389b commit f878d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function ikonw($zmienna, $encoding)
ON a.user = c.userid
WHERE a.timestamp > '$od'";

$result = $db->exec($sql, $num_rows, 1);
$result = $db->get_db_link()->query($sql, MYSQLI_USE_RESULT);

if ($result) {
while ($row = mysqli_fetch_array($result)) {
Expand Down

0 comments on commit f878d3d

Please sign in to comment.