Query : SELECT `dev10_s`.`setting_id`, `dev10_s`.`group`, `dev10_s`.`key`, `dev10_s`.`value` FROM `dev10_setting` AS `dev10_s` WHERE `dev10_s`.`key` = 'title'
\Dev10\Core::get_fields_from_table function return values array('s.group', 's.key', 's.value');
Why dev10_s added prefix select and where variables?
Ah, your problem is that the alias is prefixed too.
That's only a cosmetic issue, but if it bothers you, please create an issue for it at https://github.com/fuel/core/issues, linking to this thread. Or send in a PR with the fix.
I've looked into it, but although it might solve your particular problem, this doesn't solve THE problem. It creates one.
Issue is that if in quote_identifier() you get a string "this.that", can you tell that "this" is a table name (which should be prefixed) or an alias (which should not be prefixed)? Problem is, you can't, so the solution that was implemented is to prefix both.