# File firewall/lib/symbiosis/firewall/logtail.rb, line 58 def pos return 0 if self.identifier.nil? return @pos unless @pos.nil? pos = @dbh.execute("SELECT pos FROM #{@tbl_name} WHERE filename = ? AND identifier = ? LIMIT 0,1", [self.filename, self.identifier]).flatten.first pos = 0 if pos.nil? @pos = pos.to_i end