#2 SELECT GROUP_CONCAT ... vom type MYSQL_TYPE_BLOB führt zu Fehler

Fermé
Créé il y a 3 ans par dlack · 0 commentaires

https://gogs.reru.org/GfA/libgfaservices/src/master/summarist/summarist.cpp#L134

if((nRowCount == 1) && (nFldCount == 1) && pFields && (pFields->type != MYSQL_TYPE_BLOB) && pRow && pRow[0])

Mögliche Lösung:

SELECT anstelle von SELECT GROUP_CONCAT

sSql = formatString("SELECT `tagid` FROM `%s` ORDER BY `tagid`", m_sup.szITagsView);

und anschießend std::string m_ilTagsList selbst zusammenbauen durch iterieren der rows

https://gogs.reru.org/GfA/libgfaservices/src/master/summarist/summarist.cpp#L134 if((nRowCount == 1) && (nFldCount == 1) && pFields && (pFields->type != MYSQL_TYPE_BLOB) && pRow && pRow[0]) Mögliche Lösung: SELECT anstelle von SELECT GROUP_CONCAT sSql = formatString("SELECT `tagid` FROM `%s` ORDER BY `tagid`", m_sup.szITagsView); und anschießend std::string m_ilTagsList selbst zusammenbauen durch iterieren der rows
Connectez-vous pour rejoindre cette conversation.
Pas d'étiquette
Aucun jalon
Pas d'assignataire
1 Participants
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.