CodeIgniter Forums
[solved]$this->db->count_all() bug? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: [solved]$this->db->count_all() bug? (/showthread.php?tid=44029)



[solved]$this->db->count_all() bug? - El Forum - 07-31-2011

[eluser]brucebat[/eluser]
DATABASE WAS CORRUPT

Hi I have been testing this function today and I believe there may be a bug when using with

XAMPP and MySQL 5.06

I have a table called procedure which has 76 rows in it which I have confirmed using phpMyadmin and SQLyog.

However when I call the function

Code:
$this->db->count_all('procedure');

I get a result of "70"

I have made sure my indices are correct in the table etc,

Any ideas what is causing this?


[solved]$this->db->count_all() bug? - El Forum - 07-31-2011

[eluser]brucebat[/eluser]
Never mind, fixed!